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.001011/0.001011, 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.001029/0.001029, allocations: 165 kB / 23.02 MB, free: 1.555 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.136/2.136, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.605e-06/2.605e-06, allocations: 0 / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.987e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001427/0.001457, allocations: 0.6289 MB / 0.8788 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.002708, allocations: 1.156 MB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.002753, allocations: 0 / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.002785, allocations: 3.938 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.002859, allocations: 13.75 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.003278, allocations: 121.5 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.003414, allocations: 91.83 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003523, allocations: 7.969 kB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.003617, allocations: 44.47 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.003709, allocations: 24.62 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.003733, allocations: 8 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.003796, allocations: 32.97 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.003815, allocations: 4 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.003864, allocations: 27.97 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004022, allocations: 72.84 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004026, allocations: 0 / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.896e-06/0.004028, allocations: 4 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.004034, allocations: 1.031 kB / 0.8803 GB, free: 4.094 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.0004396/0.004473, allocations: 406.3 kB / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.004516, allocations: 8.031 kB / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.004571, allocations: 10.02 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.004665, allocations: 112.6 kB / 0.8808 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.004688, allocations: 4.375 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.004709, allocations: 13.34 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.004803, allocations: 46.95 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.004813, allocations: 1.281 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004822, allocations: 384 / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.00483, allocations: 384 / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.004857, allocations: 12.64 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.005182, allocations: 287.7 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.00524, allocations: 36.56 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.005261, allocations: 15.73 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.005268, allocations: 0 / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.316e-05/0.005361, allocations: 66.55 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.005363, allocations: 3.984 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001715/0.005534, allocations: 65.56 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.005565, allocations: 55.41 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.005648, allocations: 167 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.005665, allocations: 25.7 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.005716, allocations: 142.8 kB / 0.8817 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.005729, allocations: 5.422 kB / 0.8817 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.005778, allocations: 39.36 kB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003861/0.006164, allocations: 496.1 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.006245, allocations: 57.67 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.006315, allocations: 88.16 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.006396, allocations: 88.69 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.006398, allocations: 3.938 kB / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001879/0.006586, allocations: 177 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.006622, allocations: 37.64 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006627, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.006644, allocations: 1.188 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.006699, allocations: 4 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.006705, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.006824, allocations: 31.98 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.006838, allocations: 8 kB / 0.8827 GB, free: 1.363 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 7.172e-05/0.00691, allocations: 160.5 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.00692, allocations: 7.984 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.006947, allocations: 11.94 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006949, allocations: 0 / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006953, allocations: 0 / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006957, allocations: 4 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.067e-05/0.007028, allocations: 116.6 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007029, allocations: 0 / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.007042, allocations: 8 kB / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.007043, allocations: 0 / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.007049, allocations: 0 / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007051, allocations: 3.938 kB / 0.883 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007052, allocations: 0 / 0.883 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007155, allocations: 96.38 kB / 0.8831 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.007162, allocations: 0 / 0.8831 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007173, allocations: 7.938 kB / 0.8831 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.007189, allocations: 11.94 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.007217, allocations: 3.984 kB / 0.8831 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.007222, allocations: 0 / 0.8831 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.007261, allocations: 131.2 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007261, allocations: 0 / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001456/0.007407, allocations: 16 kB / 0.8833 GB, free: 0.7266 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 0.0001236/0.00753, allocations: 111.2 kB / 0.8834 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.007716, allocations: 144.7 kB / 0.8835 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007717, allocations: 0 / 0.8835 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.00774, allocations: 15.69 kB / 0.8835 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007909, allocations: 24.56 kB / 0.8836 GB, free: 408 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.008179, allocations: 126.2 kB / 0.8837 GB, free: 252 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.008211, allocations: 55.36 kB / 0.8837 GB, free: 176 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.00823, allocations: 3.984 kB / 0.8837 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.008248, allocations: 12.5 kB / 0.8838 GB, free: 160 kB / 0.8386 GB Notification: Performance of SimCode: time 7.52e-07/0.008249, allocations: 0 / 0.8838 GB, free: 160 kB / 0.8386 GB Notification: Performance of Templates: time 0.003144/0.01139, allocations: 1.191 MB / 0.8849 GB, free: 15 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.664528504945338]