Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.0009384/0.0009384, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009738/0.0009738, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.027/1.027, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.062/2.062, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.187e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0012/0.001222, allocations: 0.6281 MB / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.002373, allocations: 1.159 MB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.002422, allocations: 3.938 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.002459, allocations: 0 / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.002554, allocations: 11.38 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.002959, allocations: 125.2 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003093, allocations: 88.27 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.003187, allocations: 4 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.003284, allocations: 61.12 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.003367, allocations: 19.97 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.003387, allocations: 8 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.003445, allocations: 23.98 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.003462, allocations: 0.875 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.003507, allocations: 35.91 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.003646, allocations: 73.3 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003649, allocations: 4 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00365, allocations: 0 / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.003654, allocations: 0 / 0.8803 GB, free: 4.113 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000362/0.004016, allocations: 403.8 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.004056, allocations: 8.031 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.004102, allocations: 8.891 kB / 0.8807 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.004182, allocations: 116.5 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.0042, allocations: 5.594 kB / 0.8808 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.004215, allocations: 4.375 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.004301, allocations: 50.95 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004309, allocations: 3.531 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.00432, allocations: 4.312 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.004326, allocations: 384 / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.004351, allocations: 7.938 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.004666, allocations: 287.7 kB / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.004716, allocations: 31 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.004735, allocations: 19.73 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.004741, allocations: 0 / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.93e-05/0.00482, allocations: 65.05 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004821, allocations: 0 / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000151/0.004972, allocations: 73.55 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.005006, allocations: 55.41 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.005088, allocations: 165.9 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.005104, allocations: 25.7 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.005153, allocations: 138.8 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.005167, allocations: 11.94 kB / 0.8817 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.005212, allocations: 39.34 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.005319, allocations: 496.1 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.005381, allocations: 53.69 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.005442, allocations: 88.8 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/0.005511, allocations: 88.69 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005513, allocations: 0 / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.005676, allocations: 173 kB / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.005704, allocations: 47.81 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005709, allocations: 0 / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005721, allocations: 4 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.104e-05/0.005762, allocations: 0 / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.005769, allocations: 8.062 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.005871, allocations: 19.94 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.005883, allocations: 7.984 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.896e-05/0.005952, allocations: 164.5 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.00596, allocations: 4 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.00598, allocations: 7.938 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005981, allocations: 0 / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.005987, allocations: 7.984 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00599, allocations: 0 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.472e-05/0.006055, allocations: 124.6 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006056, allocations: 0 / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-06/0.006065, allocations: 8 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006066, allocations: 0 / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006071, allocations: 0 / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006073, allocations: 3.938 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006074, allocations: 0 / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.327e-05/0.006147, allocations: 96.33 kB / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.006154, allocations: 3.984 kB / 0.8831 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.006163, allocations: 4 kB / 0.8831 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.006171, allocations: 7.938 kB / 0.8831 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.006196, allocations: 8 kB / 0.8831 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.0062, allocations: 0 / 0.8831 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.006234, allocations: 131.2 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006234, allocations: 0 / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001347/0.006369, allocations: 16 kB / 0.8833 GB, free: 0.7383 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.64e-05/0.006465, allocations: 107.2 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.006612, allocations: 140.7 kB / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006613, allocations: 0 / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.006635, allocations: 20.17 kB / 0.8835 GB, free: 448 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.006771, allocations: 17.14 kB / 0.8836 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.007044, allocations: 130.1 kB / 0.8837 GB, free: 272 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.007071, allocations: 55.36 kB / 0.8837 GB, free: 196 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.595e-05/0.007087, allocations: 4 kB / 0.8837 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.007102, allocations: 8.5 kB / 0.8837 GB, free: 184 kB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.007103, allocations: 0 / 0.8837 GB, free: 184 kB / 0.8386 GB Notification: Performance of Templates: time 0.002832/0.009935, allocations: 1.304 MB / 0.885 GB, free: 14.91 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.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.24295931821689]