Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 83.69 kB / 20.24 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 157.8 kB / 23.55 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.095/3.095, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.243e-05, allocations: 3.562 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001779/0.001811, allocations: 0.6073 MB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003015, allocations: 0.8479 MB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.003052, allocations: 4 kB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.003071, allocations: 1 kB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.003129, allocations: 3.938 kB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.003328, allocations: 13.52 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.003404, allocations: 19.92 kB / 0.8123 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.003449, allocations: 4 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.003623, allocations: 19.92 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.003679, allocations: 9.031 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.003695, allocations: 0 / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.507e-05/0.00376, allocations: 12.7 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.003769, allocations: 0 / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.003787, allocations: 1.688 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.0039, allocations: 27.89 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003902, allocations: 0 / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003902, allocations: 0 / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003906, allocations: 3.938 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005004/0.004406, allocations: 357.8 kB / 0.8127 GB, free: 72 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.004446, allocations: 8.031 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.004603, allocations: 8.938 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.004763, allocations: 118.3 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004774, allocations: 384 / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.004784, allocations: 4.375 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.004901, allocations: 30.27 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.004913, allocations: 4.172 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.004923, allocations: 0.9688 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.00493, allocations: 5.297 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.004986, allocations: 11.94 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.005165, allocations: 115.2 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.403e-05/0.005259, allocations: 39 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.005303, allocations: 11.75 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.00532, allocations: 0 / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.005358, allocations: 33.39 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.005358, allocations: 0 / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002511/0.00561, allocations: 54.11 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.005664, allocations: 52.12 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.005805, allocations: 169.9 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.005828, allocations: 30.23 kB / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.005903, allocations: 132.5 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.005926, allocations: 0 / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.005963, allocations: 15.38 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.006224, allocations: 0.4923 MB / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.006257, allocations: 4.5 kB / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.006282, allocations: 4.594 kB / 0.814 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.00635, allocations: 24.45 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006352, allocations: 0 / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.006461, allocations: 46.78 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.006478, allocations: 11.94 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006481, allocations: 1.375 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.006494, allocations: 0 / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.006558, allocations: 0 / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.006566, allocations: 4.531 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.006593, allocations: 4.188 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.006599, allocations: 1.125 kB / 0.8141 GB, free: 14.5 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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.006711, allocations: 156.6 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.006722, allocations: 8.891 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.006744, allocations: 7.156 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.006745, allocations: 0 / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.006748, allocations: 0.8438 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006752, allocations: 3.938 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.006864, allocations: 118.8 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006865, allocations: 4 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.006894, allocations: 0 / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006895, allocations: 0 / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006902, allocations: 0 / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.006906, allocations: 4 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006907, allocations: 2.781 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.007055, allocations: 84.31 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.007061, allocations: 0 / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.007072, allocations: 0 / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.861e-05/0.0071, allocations: 7.984 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.007132, allocations: 0 / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.007135, allocations: 0 / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.007211, allocations: 128.7 kB / 0.8146 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007211, allocations: 0 / 0.8146 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001771/0.007388, allocations: 7.938 kB / 0.8146 GB, free: 13.91 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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.0001344/0.007522, allocations: 96.3 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.007649, allocations: 25.06 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007651, allocations: 0 / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.007695, allocations: 19.61 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.007832, allocations: 2.781 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.008143, allocations: 118.2 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.008209, allocations: 63.16 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.008235, allocations: 4.25 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.008264, allocations: 12.5 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.008264, allocations: 0 / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.002802/0.01107, allocations: 308.3 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.217282583005726]