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.001066/0.001066, allocations: 77.88 kB / 20.68 MB, free: 3.809 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.001196/0.001196, allocations: 177 kB / 24.08 MB, free: 412 kB / 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 0.9598/0.9598, allocations: 177.1 MB / 204.5 MB, free: 5.457 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.867/1.867, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] 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.944e-06/1.944e-06, allocations: 0 / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.742e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001373/0.001401, allocations: 0.6243 MB / 0.8127 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.00226, allocations: 0.8672 MB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.002298, allocations: 0 / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.002325, allocations: 1.625 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.002387, allocations: 3.984 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.002572, allocations: 7.938 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.002634, allocations: 27.86 kB / 0.8135 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.002672, allocations: 1.594 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.002827, allocations: 19.92 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.493e-05/0.002872, allocations: 4 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.002886, allocations: 0 / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.002939, allocations: 13.72 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.002949, allocations: 3.938 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.002964, allocations: 8 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.002e-05/0.003054, allocations: 11.98 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003056, allocations: 1.25 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003057, allocations: 0 / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003061, allocations: 0 / 0.8136 GB, free: 15.79 MB / 0.7761 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.0002927/0.003353, allocations: 360.6 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.00339, allocations: 9.938 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.003502, allocations: 16.86 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.157e-05/0.003573, allocations: 104.6 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.003584, allocations: 4.375 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-06/0.003589, allocations: 2.844 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.778e-05/0.003666, allocations: 50.95 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003673, allocations: 192 / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-06/0.003678, allocations: 384 / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.003685, allocations: 4.359 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.108e-05/0.003696, allocations: 3.938 kB / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.003805, allocations: 93.98 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.003837, allocations: 27 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.00385, allocations: 16.25 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.003866, allocations: 5.641 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.003887, allocations: 33.39 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003887, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.000111/0.003998, allocations: 37.66 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.004028, allocations: 60 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.004098, allocations: 163 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.004108, allocations: 25.7 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.004146, allocations: 130.9 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.004178, allocations: 1.156 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.004203, allocations: 15.38 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.004335, allocations: 0.4961 MB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.004346, allocations: 1.375 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.004354, allocations: 0 / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.004389, allocations: 11.69 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004391, allocations: 1.156 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.322e-05/0.004444, allocations: 37.64 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.004457, allocations: 4.656 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.004463, allocations: 4 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.004474, allocations: 0.6875 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.00453, allocations: 3.984 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.004533, allocations: 0.8438 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.004548, allocations: 4 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.004554, allocations: 6.062 kB / 0.8153 GB, free: 13.89 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.074e-05/0.004615, allocations: 152.6 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.004625, allocations: 7.953 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.004647, allocations: 3.156 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004649, allocations: 0.75 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.004651, allocations: 4 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.004655, allocations: 6.359 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.522e-05/0.004721, allocations: 97.2 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.004721, allocations: 0 / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.004736, allocations: 4 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.004738, allocations: 0 / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.004742, allocations: 0 / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.004743, allocations: 0 / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.004745, allocations: 9.859 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.00482, allocations: 76.33 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.004826, allocations: 0 / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.004834, allocations: 0 / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.004844, allocations: 8.484 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.004866, allocations: 0 / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.004868, allocations: 1.344 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.004903, allocations: 123.2 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/0.004903, allocations: 0 / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001092/0.005012, allocations: 4 kB / 0.8158 GB, free: 13.34 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 8.186e-05/0.005094, allocations: 96.61 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.437e-05/0.005149, allocations: 15.34 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.00515, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/0.005165, allocations: 19.61 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.005278, allocations: 14.38 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.005643, allocations: 118.4 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.134e-05/0.005675, allocations: 55.34 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.704e-05/0.005692, allocations: 2.031 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.005731, allocations: 66.2 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.005732, allocations: 0 / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.001966/0.007698, allocations: 329.5 kB / 0.8164 GB, free: 12.59 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.059898810926825]