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.001599/0.001599, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001904/0.001904, allocations: 165 kB / 23.82 MB, free: 0.7461 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.039/1.039, allocations: 177.1 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 1.948/1.948, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.643e-06/1.643e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.626e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.004358/0.004374, allocations: 0.6173 MB / 0.8122 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.005213, allocations: 0.8672 MB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.00524, allocations: 4 kB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.005267, allocations: 3.938 kB / 0.813 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.005316, allocations: 1.219 kB / 0.813 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.005481, allocations: 8 kB / 0.8131 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.005541, allocations: 20.77 kB / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.005577, allocations: 4 kB / 0.8131 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.00571, allocations: 28.5 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.005755, allocations: 7.984 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.005769, allocations: 0.875 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.005808, allocations: 4 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.005818, allocations: 5.25 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.005835, allocations: 3.938 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.005923, allocations: 19.97 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005925, allocations: 1.656 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005926, allocations: 0 / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.005929, allocations: 0 / 0.8131 GB, free: 120 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.0003433/0.006273, allocations: 356.6 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.00631, allocations: 12.03 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.006424, allocations: 10.23 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.006508, allocations: 112.6 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.006519, allocations: 384 / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.006531, allocations: 5.891 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.006625, allocations: 46.95 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.006636, allocations: 4.125 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.006643, allocations: 1.188 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.006652, allocations: 384 / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.006669, allocations: 8.844 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.006791, allocations: 112.7 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.054e-05/0.006832, allocations: 27.05 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.00685, allocations: 8.406 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.006864, allocations: 5.281 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.006886, allocations: 33.39 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.006886, allocations: 3.938 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001165/0.007003, allocations: 42.22 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.00703, allocations: 56.53 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.009671, allocations: 161.9 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.009681, allocations: 29.7 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.009714, allocations: 127.8 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.009733, allocations: 4 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.009755, allocations: 15.38 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.009856, allocations: 0.489 MB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.009867, allocations: 5.156 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.009874, allocations: 0 / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.009905, allocations: 17.44 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009907, allocations: 0 / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.87e-05/0.009945, allocations: 33.69 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.009955, allocations: 4 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.009961, allocations: 4.5 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.009975, allocations: 0 / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.01004, allocations: 3.438 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.01004, allocations: 0 / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.01006, allocations: 7.938 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.01007, allocations: 0 / 0.8148 GB, free: 14.2 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 6.769e-05/0.01013, allocations: 156.6 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.01014, allocations: 11.94 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.01017, allocations: 3.156 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01017, allocations: 0 / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01017, allocations: 0.5312 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01018, allocations: 3.938 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.163e-05/0.01025, allocations: 113.1 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01025, allocations: 0.5625 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.01027, allocations: 8.234 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.01027, allocations: 0.5625 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.01028, allocations: 5.406 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.01028, allocations: 0 / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01028, allocations: 0 / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/0.01035, allocations: 76.91 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.01036, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.01037, allocations: 8.562 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.01038, allocations: 1.969 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.01041, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.01041, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.01046, allocations: 131.2 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 0 / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001815/0.01064, allocations: 7.938 kB / 0.8153 GB, free: 13.62 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 7.429e-05/0.01071, allocations: 100.6 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.01078, allocations: 8.625 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01078, allocations: 4 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.0108, allocations: 9.031 kB / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.01094, allocations: 9.984 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.0113, allocations: 123.3 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.01133, allocations: 57.52 kB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.315e-05/0.01134, allocations: 0 / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.01137, allocations: 12.5 kB / 0.8156 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.01137, allocations: 0 / 0.8156 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.001569/0.01293, allocations: 305.9 kB / 0.8159 GB, free: 12.96 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.353941665031016]