Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001787/0.001787, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.001962/0.001962, allocations: 153.4 kB / 23.55 MB, free: 0.7305 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.643/1.643, allocations: 177.1 MB / 203.9 MB, free: 5.633 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.11/3.11, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.614e-05, allocations: 11.25 kB / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001991/0.002027, allocations: 0.6778 MB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003296, allocations: 0.8522 MB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.003332, allocations: 0 / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.003355, allocations: 0 / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.003437, allocations: 13.28 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.003617, allocations: 11.98 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.003701, allocations: 19.94 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003804, allocations: 7.969 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.00389, allocations: 12.75 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.003933, allocations: 11.92 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.003952, allocations: 4.906 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.004009, allocations: 4 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.004022, allocations: 0.6562 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.004055, allocations: 11.98 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.004179, allocations: 34.17 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.004183, allocations: 0 / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.412e-06/0.004184, allocations: 3.938 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.004189, allocations: 0 / 0.8125 GB, free: 412 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005667/0.004755, allocations: 356.3 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.004796, allocations: 11.97 kB / 0.8128 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.00495, allocations: 9.625 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.005078, allocations: 112.6 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.005091, allocations: 1.531 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.0051, allocations: 384 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.005252, allocations: 42.77 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.005261, allocations: 192 / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.005271, allocations: 0.9375 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.005278, allocations: 4.375 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.0054, allocations: 29.16 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.005814, allocations: 247.8 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.005943, allocations: 43.58 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.006007, allocations: 17.12 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.00603, allocations: 0 / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.006074, allocations: 41.38 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.006075, allocations: 1.219 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003052/0.00638, allocations: 70.17 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.006434, allocations: 51.41 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.006589, allocations: 170.6 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.006613, allocations: 25.7 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.006721, allocations: 131.4 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.006746, allocations: 9.328 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.006789, allocations: 15.38 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005653/0.007354, allocations: 0.4923 MB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.007405, allocations: 4 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.007454, allocations: 17.52 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.875e-05/0.007553, allocations: 29.55 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.007557, allocations: 4 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001392/0.007696, allocations: 53.62 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.007712, allocations: 4 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.007719, allocations: 5.156 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.007736, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.007821, allocations: 11.92 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.007826, allocations: 1.375 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.007854, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.007862, allocations: 4 kB / 0.8144 GB, free: 14.22 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 (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 0.000117/0.007979, allocations: 153.1 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.008006, allocations: 8.531 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.008189, allocations: 65.73 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008191, allocations: 0 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008194, allocations: 0.8125 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008197, allocations: 0 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.008355, allocations: 117.5 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008356, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.008399, allocations: 12 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.008404, allocations: 4.828 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.00841, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.008414, allocations: 5.219 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008415, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.008656, allocations: 204.5 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.008662, allocations: 0 / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.00868, allocations: 4.75 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.008743, allocations: 9.609 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.008789, allocations: 7.938 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.008792, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.154e-05/0.008874, allocations: 131.2 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008874, allocations: 0 / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001977/0.009071, allocations: 4.875 kB / 0.8151 GB, free: 13.45 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 (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.0001359/0.009207, allocations: 94.72 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.009371, allocations: 31.67 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009373, allocations: 0 / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.736e-05/0.009441, allocations: 23.67 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.009689, allocations: 5.688 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.01003, allocations: 126.8 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.01012, allocations: 64.33 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.01014, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.01017, allocations: 13.69 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01017, allocations: 4 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.003273/0.01344, allocations: 468 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.363341163960285]