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.0009684/0.0009684, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.0009945/0.0009945, allocations: 165 kB / 23.82 MB, free: 0.7344 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 0.9813/0.9813, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.93/1.93, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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 3.126e-06/3.126e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.48e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.008765/0.008799, allocations: 0.6263 MB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.009796, allocations: 0.8599 MB / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.009828, allocations: 0 / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.009858, allocations: 7.938 kB / 0.813 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.009915, allocations: 1.438 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.01011, allocations: 11.92 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.343e-05/0.01019, allocations: 15.94 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.01023, allocations: 5.156 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.01039, allocations: 27.84 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.01044, allocations: 11.98 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.01045, allocations: 0.6875 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.0105, allocations: 4 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.01051, allocations: 0.9062 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.01053, allocations: 0 / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.01063, allocations: 20.58 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.01064, allocations: 0 / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.503e-06/0.01064, allocations: 0.9375 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.01064, allocations: 0 / 0.8131 GB, free: 84 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.000391/0.01103, allocations: 356.6 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.01108, allocations: 16.75 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.01121, allocations: 9.797 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.01131, allocations: 112.6 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.01132, allocations: 384 / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.01133, allocations: 5.625 kB / 0.8136 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.01143, allocations: 46.95 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.01144, allocations: 2 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006007/0.01744, allocations: 384 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.01745, allocations: 384 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.01748, allocations: 7.938 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.01761, allocations: 112.7 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.01766, allocations: 32.16 kB / 0.8138 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.01768, allocations: 7.688 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.01769, allocations: 4.062 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.01772, allocations: 39.19 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.01772, allocations: 0 / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.01785, allocations: 33.66 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.01788, allocations: 55.34 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.01796, allocations: 171.4 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.01797, allocations: 25.7 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.01801, allocations: 130.9 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.01803, allocations: 0 / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.01806, allocations: 24.8 kB / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01818, allocations: 496.1 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.01819, allocations: 4 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.0182, allocations: 0.5938 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.01823, allocations: 8.438 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01823, allocations: 4 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.591e-05/0.01829, allocations: 43.47 kB / 0.8148 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01831, allocations: 4 kB / 0.8148 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01831, allocations: 0 / 0.8148 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01832, allocations: 4 kB / 0.8148 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.01839, allocations: 0.625 kB / 0.8148 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.01839, allocations: 0 / 0.8148 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.01842, allocations: 8.875 kB / 0.8148 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01842, allocations: 0 / 0.8148 GB, free: 14.16 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.554e-05/0.01849, allocations: 157.8 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.0185, allocations: 7.953 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.01852, allocations: 7.156 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01852, allocations: 0.5312 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01852, allocations: 1.219 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01853, allocations: 3.938 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.736e-05/0.01859, allocations: 116.6 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01859, allocations: 1.031 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.01861, allocations: 4 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01861, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01862, allocations: 1 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01862, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01862, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.01869, allocations: 81.12 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.0187, allocations: 0.9375 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.01871, allocations: 0 / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.01872, allocations: 4 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.01874, allocations: 1.344 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.01875, allocations: 0 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.01878, allocations: 127.2 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01878, allocations: 0.875 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001774/0.01896, allocations: 7.938 kB / 0.8153 GB, free: 13.58 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.0001017/0.01906, allocations: 93.31 kB / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.01914, allocations: 19.62 kB / 0.8154 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01914, allocations: 0 / 0.8154 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.01916, allocations: 20.27 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.01931, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.01978, allocations: 125.9 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.01982, allocations: 51.36 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.787e-05/0.01983, allocations: 0 / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.01986, allocations: 8.5 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.01986, allocations: 4 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.008171/0.02803, allocations: 315.9 kB / 0.8159 GB, free: 12.91 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.219350442290306]