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.001471/0.001471, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.002444/0.002444, allocations: 169 kB / 24.27 MB, free: 276 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 1.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.925/1.925, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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 2.184e-06/2.184e-06, allocations: 0 / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.766e-05, allocations: 2.312 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001388/0.001416, allocations: 0.6864 MB / 0.8123 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.002238, allocations: 0.8674 MB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.002269, allocations: 0 / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.002296, allocations: 0 / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.00236, allocations: 4.719 kB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.002544, allocations: 11.98 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.00262, allocations: 25.61 kB / 0.8132 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.002705, allocations: 4 kB / 0.8132 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.002777, allocations: 19.92 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.246e-05/0.002809, allocations: 4 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.002823, allocations: 1.531 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.002875, allocations: 15.91 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.00289, allocations: 8 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002909, allocations: 0 / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003012, allocations: 25.11 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003015, allocations: 3.938 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003016, allocations: 0 / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.00302, allocations: 1.594 kB / 0.8132 GB, free: 344 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.0004035/0.003424, allocations: 364.6 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.003471, allocations: 8.031 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.003606, allocations: 4.938 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.868e-05/0.003704, allocations: 109.3 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.003716, allocations: 384 / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.003726, allocations: 0.9062 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.003858, allocations: 60.59 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003865, allocations: 192 / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.003875, allocations: 384 / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.003882, allocations: 384 / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.554e-05/0.003918, allocations: 15.86 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.004209, allocations: 244.5 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.004259, allocations: 32.03 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.004281, allocations: 11.75 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.004297, allocations: 1.156 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.004315, allocations: 33.39 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004316, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.004462, allocations: 54.91 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.004496, allocations: 55.39 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.004566, allocations: 157.9 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.004577, allocations: 27.45 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.004622, allocations: 130.9 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.004642, allocations: 11.89 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.00467, allocations: 23.36 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.00478, allocations: 496.1 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.004794, allocations: 2.062 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.004807, allocations: 4 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.004836, allocations: 15.69 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004838, allocations: 3.938 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.447e-05/0.004893, allocations: 38.25 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.004906, allocations: 6.531 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.004911, allocations: 3.938 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004923, allocations: 0 / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.005, allocations: 4 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005005, allocations: 4 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.005024, allocations: 7.922 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005028, allocations: 1.75 kB / 0.8151 GB, free: 14.25 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 6.358e-05/0.005092, allocations: 160.6 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.005104, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.005194, allocations: 48.88 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005196, allocations: 0.5312 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.0052, allocations: 0.5625 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005203, allocations: 0 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.005295, allocations: 122.3 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.005297, allocations: 4 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.005323, allocations: 8 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005325, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.005331, allocations: 2.594 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.005334, allocations: 3.938 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005334, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.681e-05/0.005431, allocations: 191.9 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005438, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.005448, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.231e-05/0.00548, allocations: 7.938 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.005517, allocations: 5.109 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.00552, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.005556, allocations: 127.2 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005556, allocations: 0.8125 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001377/0.005694, allocations: 7.938 kB / 0.8157 GB, free: 13.51 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 9.729e-05/0.005791, allocations: 99.16 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.573e-05/0.005867, allocations: 19.36 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.005868, allocations: 0 / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.005886, allocations: 15.69 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.006071, allocations: 7.938 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.006538, allocations: 126.4 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.006575, allocations: 51.36 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.595e-05/0.006591, allocations: 1.844 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.00662, allocations: 12.5 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.00662, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002174/0.008794, allocations: 472.4 kB / 0.8165 GB, free: 12.68 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: 5.229792861035094]