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.0009501/0.0009501, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001442/0.001442, allocations: 181 kB / 24.09 MB, free: 420 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.9138/0.9138, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.98/1.98, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.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 3.156e-06/3.156e-06, allocations: 0 / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.529e-05, allocations: 6.906 kB / 0.8121 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001469/0.001504, allocations: 0.6869 MB / 0.8127 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.002374, allocations: 0.8672 MB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.00241, allocations: 2.406 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.002436, allocations: 0 / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.002504, allocations: 0 / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.002671, allocations: 23.91 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.002725, allocations: 19.88 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.002812, allocations: 11.98 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.002881, allocations: 9.125 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.002913, allocations: 7.984 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.002925, allocations: 0 / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.002969, allocations: 17 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.002983, allocations: 3.984 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.002999, allocations: 11.92 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.586e-05/0.003075, allocations: 16.86 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003077, allocations: 0 / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003078, allocations: 1.344 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.003081, allocations: 0 / 0.8137 GB, free: 15.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003164/0.003398, allocations: 360.6 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.003438, allocations: 9.969 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.00352, allocations: 8.922 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.003598, allocations: 116.5 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.003608, allocations: 384 / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-06/0.003612, allocations: 384 / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.003711, allocations: 52.64 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003717, allocations: 192 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.003725, allocations: 384 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.00374, allocations: 384 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.003762, allocations: 15.92 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.00397, allocations: 225.4 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/0.004007, allocations: 31 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.004021, allocations: 8.219 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.004037, allocations: 8.656 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.004056, allocations: 33.92 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.004058, allocations: 1.312 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001118/0.00417, allocations: 53.52 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.004194, allocations: 51.41 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.00426, allocations: 162.5 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.004268, allocations: 25.7 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.004307, allocations: 132.2 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.004322, allocations: 3.953 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.004344, allocations: 19.38 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.004462, allocations: 497.3 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.004471, allocations: 4 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.004479, allocations: 0 / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.004501, allocations: 20.52 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.004503, allocations: 0.8438 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.449e-05/0.004547, allocations: 37.64 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.004557, allocations: 5.281 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004562, allocations: 0 / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.004575, allocations: 7.938 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.004627, allocations: 9.016 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.00463, allocations: 0 / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.004646, allocations: 5.156 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.004655, allocations: 4 kB / 0.8155 GB, free: 13.64 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 5.893e-05/0.004714, allocations: 152.6 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.004728, allocations: 5.297 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.004797, allocations: 45 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.004799, allocations: 3.938 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004801, allocations: 1.562 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.004804, allocations: 0 / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.482e-05/0.004889, allocations: 109.1 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00489, allocations: 0 / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.004913, allocations: 14.78 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.004914, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-06/0.004919, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.004919, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00492, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.022e-05/0.00501, allocations: 195.8 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-06/0.005015, allocations: 0 / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-06/0.005021, allocations: 0.5 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.00505, allocations: 4.531 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.005076, allocations: 7.984 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.005079, allocations: 5.281 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.005112, allocations: 123.2 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005112, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001304/0.005242, allocations: 4 kB / 0.8162 GB, free: 12.93 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 7.772e-05/0.00532, allocations: 100.7 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.301e-05/0.005373, allocations: 16.34 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.005374, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.005388, allocations: 14.53 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.005549, allocations: 3.938 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.00588, allocations: 126.4 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.005915, allocations: 59.3 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.506e-05/0.00593, allocations: 2.688 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.005973, allocations: 70.2 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.005974, allocations: 0 / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.001764/0.007738, allocations: 0.499 MB / 0.817 GB, free: 12.01 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977527434937656]