Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 112.6 kB / 16.37 MB, free: 6 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.001527/0.001527, allocations: 196 kB / 17.31 MB, free: 5.613 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 76.02 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3596, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002462/0.3622, allocations: 0.6708 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3634, allocations: 0.81 MB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.3634, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.3635, allocations: 3.938 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.3636, allocations: 3.984 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3638, allocations: 15.94 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.3639, allocations: 19.98 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3641, allocations: 4 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.3642, allocations: 27.84 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.3642, allocations: 7.984 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.3642, allocations: 4 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.3643, allocations: 3.938 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3643, allocations: 0 / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.3643, allocations: 11.94 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.3644, allocations: 15.97 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3644, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3645, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3645, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006033/0.3651, allocations: 343.5 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.3651, allocations: 8.031 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.3652, allocations: 0.9375 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3654, allocations: 176.2 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3654, allocations: 384 / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3654, allocations: 384 / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3656, allocations: 54.17 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3656, allocations: 4.125 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3656, allocations: 7.938 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3657, allocations: 0 / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3658, allocations: 31.97 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.3662, allocations: 253 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3664, allocations: 34.5 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.3665, allocations: 28.91 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.3665, allocations: 0 / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3665, allocations: 34.5 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3665, allocations: 0 / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.3669, allocations: 81.73 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.367, allocations: 55.44 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.3671, allocations: 101.8 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3671, allocations: 25.7 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.3671, allocations: 80.14 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3672, allocations: 11.84 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.3672, allocations: 13.72 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3674, allocations: 318.8 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.3675, allocations: 19.98 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.3675, allocations: 15.92 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3677, allocations: 40.81 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3677, allocations: 0 / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.3679, allocations: 73.67 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3679, allocations: 4 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3679, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3679, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.368, allocations: 11.98 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.368, allocations: 0 / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.3681, allocations: 11.98 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3681, allocations: 0 / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.001e-05/0.3682, allocations: 117.8 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3682, allocations: 7.906 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.3685, allocations: 68.78 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3685, allocations: 0 / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3685, allocations: 0 / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3685, allocations: 8.109 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3687, allocations: 161.6 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3687, allocations: 3.984 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.3687, allocations: 12.02 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3688, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3688, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3688, allocations: 4 kB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3688, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.369, allocations: 167.4 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3691, allocations: 81.14 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3691, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3691, allocations: 7.984 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3692, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3692, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.3693, allocations: 79.28 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3693, allocations: 0 / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002046/0.3695, allocations: 4 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001602/0.3696, allocations: 111.2 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3698, allocations: 31.97 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3698, allocations: 3.938 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.3699, allocations: 19.97 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3702, allocations: 21.7 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3705, allocations: 105.7 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3708, allocations: 0.6766 MB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.3708, allocations: 0 / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.3708, allocations: 7.438 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3708, allocations: 0 / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of Templates: time 0.002575/0.3734, allocations: 435.4 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches