Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0009958/0.0009958, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001282/0.001282, allocations: 169 kB / 23.03 MB, free: 1.543 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.9668/0.9668, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.147/2.147, allocations: 429.5 MB / 0.6732 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.372e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001499/0.001522, allocations: 0.5783 MB / 0.8787 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.43e-05/0.001567, allocations: 1.062 kB / 0.8787 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.001595, allocations: 0 / 0.8787 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.001623, allocations: 4 kB / 0.8787 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.001651, allocations: 1.344 kB / 0.8788 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.179e-05/0.001683, allocations: 0 / 0.8788 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.001741, allocations: 5.078 kB / 0.8788 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.001783, allocations: 4.906 kB / 0.8788 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.001812, allocations: 7.984 kB / 0.8788 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.161e-05/0.001833, allocations: 224 / 0.8788 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.001852, allocations: 4.594 kB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.001855, allocations: 0.6562 kB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.001867, allocations: 0 / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.001885, allocations: 1.5 kB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.494e-05/0.00194, allocations: 3.938 kB / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.001942, allocations: 0 / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001942, allocations: 4 kB / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.001946, allocations: 1.344 kB / 0.8788 GB, free: 5.688 MB / 0.8386 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.0002531/0.002199, allocations: 340.4 kB / 0.8791 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.002237, allocations: 8.031 kB / 0.8791 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.00227, allocations: 5.266 kB / 0.8791 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.002358, allocations: 115.8 kB / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.002369, allocations: 384 / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-06/0.002376, allocations: 384 / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.561e-05/0.002441, allocations: 26.27 kB / 0.8793 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.002448, allocations: 192 / 0.8793 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.002456, allocations: 4.375 kB / 0.8793 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.002462, allocations: 384 / 0.8793 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.067e-05/0.002473, allocations: 7.875 kB / 0.8793 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.002714, allocations: 474.8 kB / 0.8797 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.002802, allocations: 267.1 kB / 0.88 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.002846, allocations: 126.9 kB / 0.8801 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.002872, allocations: 119.2 kB / 0.8802 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.002914, allocations: 152.6 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.002915, allocations: 5.281 kB / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.469e-05/0.002969, allocations: 37.64 kB / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.003023, allocations: 170.6 kB / 0.8806 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.003092, allocations: 153.9 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.003099, allocations: 25.7 kB / 0.8807 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.003143, allocations: 138.8 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.003144, allocations: 0 / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.00316, allocations: 15.38 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.003261, allocations: 492.1 kB / 0.8813 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/0.003267, allocations: 0 / 0.8813 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-06/0.003271, allocations: 0.75 kB / 0.8813 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.003301, allocations: 123.2 kB / 0.8815 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.003326, allocations: 119.2 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.426e-05/0.00336, allocations: 33.64 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.003401, allocations: 134 kB / 0.8817 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.003431, allocations: 123.1 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.237e-05/0.003493, allocations: 246.3 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.027e-05/0.003524, allocations: 127.3 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.012e-05/0.003574, allocations: 242.4 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.003623, allocations: 127.1 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.00365, allocations: 123.2 kB / 0.8827 GB, free: 1.484 MB / 0.8386 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 (0): * Single equations (assignments): 0 * 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 0.000102/0.003752, allocations: 395 kB / 0.8831 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.003797, allocations: 148.8 kB / 0.8832 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.003853, allocations: 159.8 kB / 0.8834 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.384e-05/0.003917, allocations: 272 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.003974, allocations: 264.1 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.69e-05/0.004041, allocations: 268.1 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.004198, allocations: 0.4921 MB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-05/0.004236, allocations: 148.9 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.004272, allocations: 148.8 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.818e-05/0.00433, allocations: 264.1 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.00439, allocations: 268.1 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.009e-05/0.00445, allocations: 279.9 kB / 0.8857 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.786e-05/0.004508, allocations: 264.1 kB / 0.8859 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.004628, allocations: 444 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.004668, allocations: 152.9 kB / 0.8865 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.004735, allocations: 272 kB / 0.8867 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.004789, allocations: 152.8 kB / 0.8869 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.004852, allocations: 268 kB / 0.8871 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.004885, allocations: 145.2 kB / 0.8873 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.00492, allocations: 123.2 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00492, allocations: 3.938 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000149/0.005069, allocations: 0 / 0.8874 GB, free: 12.45 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.245e-05/0.005162, allocations: 218.5 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.406e-05/0.005206, allocations: 7.938 kB / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005207, allocations: 0 / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.005208, allocations: 0 / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.005488, allocations: 0.7062 MB / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.005691, allocations: 204.7 kB / 0.8885 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.005728, allocations: 51.36 kB / 0.8886 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.516e-06/0.005732, allocations: 3.984 kB / 0.8886 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.005744, allocations: 8.5 kB / 0.8886 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.005745, allocations: 4 kB / 0.8886 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.001384/0.007129, allocations: 168.7 kB / 0.8887 GB, free: 11.03 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.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.411516364198178]