Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008587/0.008587, allocations: 97.3 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 191.9 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 68.05 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.8748, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002369/0.8772, allocations: 1.068 MB / 1.222 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.8786, allocations: 0.9917 MB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.8788, allocations: 7.938 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.8789, allocations: 19.73 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.879, allocations: 15.92 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.8793, allocations: 75.84 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.8795, allocations: 175.9 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.8797, allocations: 64.03 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8798, allocations: 71.77 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.8799, allocations: 79.61 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.88, allocations: 16 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.366e-05/0.88, allocations: 16 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.88, allocations: 35.91 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.8801, allocations: 79.53 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.8803, allocations: 183.8 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8803, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8803, allocations: 3.938 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.8803, allocations: 4 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008418/0.8812, allocations: 486.6 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8812, allocations: 8.031 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.8813, allocations: 20.84 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.8816, allocations: 232.5 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8816, allocations: 20.31 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.8817, allocations: 16.38 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.882, allocations: 155.4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.882, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.882, allocations: 8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.882, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.8823, allocations: 107.9 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.8834, allocations: 0.5314 MB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.8838, allocations: 138.7 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.884, allocations: 88.78 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.884, allocations: 4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.8843, allocations: 115.3 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.8843, allocations: 4 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0005312/0.8848, allocations: 227.8 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.8848, allocations: 55.41 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.885, allocations: 161.7 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.885, allocations: 33.7 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.8851, allocations: 120.5 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.8851, allocations: 67.44 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.8852, allocations: 37.7 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8853, allocations: 330.8 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.8855, allocations: 63.97 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.8857, allocations: 92.5 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.886, allocations: 151.5 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.886, allocations: 3.938 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004556/0.8865, allocations: 211.2 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8865, allocations: 7.938 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8865, allocations: 0 / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8865, allocations: 8.031 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.8867, allocations: 39.97 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8867, allocations: 0 / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.8869, allocations: 35.81 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.8869, allocations: 8 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.887, allocations: 129.7 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.887, allocations: 15.91 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.8874, allocations: 192.8 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8874, allocations: 3.938 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8874, allocations: 4 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8874, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.8882, allocations: 0.5928 MB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.8882, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.8884, allocations: 35.98 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8884, allocations: 7.938 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.8884, allocations: 4 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8884, allocations: 8.172 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8884, allocations: 7.938 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.889, allocations: 376.5 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.889, allocations: 92.95 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.889, allocations: 12.03 kB / 1.228 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.8892, allocations: 11.98 kB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.8893, allocations: 19.92 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.8893, allocations: 15.98 kB / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.8894, allocations: 120.6 kB / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8894, allocations: 0 / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000279/0.8897, allocations: 39.89 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001887/0.8898, allocations: 107.2 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.8903, allocations: 155.8 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8903, allocations: 0 / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.8905, allocations: 84.45 kB / 1.229 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.8908, allocations: 29.69 kB / 1.229 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.8916, allocations: 391 kB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.8919, allocations: 0.7283 MB / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.8919, allocations: 13.42 kB / 1.23 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.892, allocations: 19.44 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of SimCode: time 4.8e-07/0.892, allocations: 0 / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of Templates: time 0.004621/0.8966, allocations: 1.794 MB / 1.232 GB, free: 6.277 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches