Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0009271/0.0009271, allocations: 89.06 kB / 19.65 MB, free: 268 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.001002/0.001002, allocations: 173 kB / 23.02 MB, free: 1.535 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.166/2.166, allocations: 429.5 MB / 0.6733 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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.855e-05, allocations: 8.328 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.004421/0.00445, allocations: 0.6245 MB / 0.8788 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.00577, allocations: 1.159 MB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.005815, allocations: 0 / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.00585, allocations: 4.641 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.005926, allocations: 12.7 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.006403, allocations: 127.6 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.00655, allocations: 83.61 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.00664, allocations: 11.75 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.006734, allocations: 51.89 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.006825, allocations: 23.95 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.006848, allocations: 8 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.006911, allocations: 23.98 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.00693, allocations: 0 / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.006983, allocations: 31.91 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.007138, allocations: 79.77 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.007142, allocations: 0 / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007143, allocations: 0 / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.007149, allocations: 4.938 kB / 0.8803 GB, free: 4.102 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.0003897/0.007539, allocations: 398.3 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.007574, allocations: 13.06 kB / 0.8807 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.007621, allocations: 8.891 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.007697, allocations: 108.6 kB / 0.8808 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.007715, allocations: 1.5 kB / 0.8808 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.007733, allocations: 12.36 kB / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.007821, allocations: 54.94 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007831, allocations: 5.25 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.00784, allocations: 384 / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.007848, allocations: 384 / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.007876, allocations: 12.84 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.008201, allocations: 283.8 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.008263, allocations: 27.72 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.008286, allocations: 15.75 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.008294, allocations: 3.562 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.008406, allocations: 64.98 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.008407, allocations: 0 / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.00861, allocations: 69.61 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.008648, allocations: 55.41 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.008744, allocations: 169.9 kB / 0.8816 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.008764, allocations: 25.7 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.008826, allocations: 138.8 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.008839, allocations: 7.938 kB / 0.8817 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.008908, allocations: 36.11 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.009053, allocations: 0.4923 MB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.444e-05/0.009147, allocations: 54.28 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.009236, allocations: 89.17 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.009333, allocations: 85.97 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009335, allocations: 0 / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002396/0.009575, allocations: 174.5 kB / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.009613, allocations: 45.62 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009619, allocations: 0 / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.009635, allocations: 4.656 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.009694, allocations: 4 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.0097, allocations: 1 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.009839, allocations: 23.94 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.009856, allocations: 12.05 kB / 0.8827 GB, free: 1.379 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: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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 8.273e-05/0.009938, allocations: 160.6 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.009951, allocations: 4 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.009979, allocations: 7.938 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009981, allocations: 0 / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.009985, allocations: 0 / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009988, allocations: 7.938 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.247e-05/0.01008, allocations: 116.6 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01008, allocations: 0 / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.0101, allocations: 8 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0101, allocations: 4 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01011, allocations: 3.984 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01011, allocations: 3.938 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01011, allocations: 3.938 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.01023, allocations: 92.39 kB / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.01023, allocations: 288 / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.01024, allocations: 0 / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/0.01026, allocations: 11.92 kB / 0.8831 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.01029, allocations: 7.984 kB / 0.8831 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.0103, allocations: 0 / 0.8831 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.01034, allocations: 131.2 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01034, allocations: 4 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000212/0.01055, allocations: 12 kB / 0.8833 GB, free: 0.7422 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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 0.0001302/0.01068, allocations: 107.2 kB / 0.8834 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.01087, allocations: 144.7 kB / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01087, allocations: 0 / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.0109, allocations: 15.69 kB / 0.8835 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01111, allocations: 15.98 kB / 0.8836 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.01138, allocations: 134.2 kB / 0.8837 GB, free: 272 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.01141, allocations: 59.34 kB / 0.8837 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.01143, allocations: 4 kB / 0.8837 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.01145, allocations: 8.5 kB / 0.8838 GB, free: 180 kB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.01145, allocations: 0 / 0.8838 GB, free: 180 kB / 0.8386 GB Notification: Performance of Templates: time 0.003353/0.0148, allocations: 1.205 MB / 0.8849 GB, free: 15.01 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.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.649449766147882]