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.001091/0.001091, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00105/0.00105, allocations: 173 kB / 23.49 MB, free: 1.059 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.301/2.301, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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 5.961e-06/5.961e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.992e-05/6.588e-05, allocations: 6.281 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001906/0.001971, allocations: 0.6227 MB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.00353, allocations: 1.155 MB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.00359, allocations: 4.688 kB / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.003627, allocations: 0 / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.003723, allocations: 14.48 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.004282, allocations: 116.2 kB / 0.88 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.004449, allocations: 93.02 kB / 0.8801 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004567, allocations: 7.969 kB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.004671, allocations: 51.91 kB / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004775, allocations: 25.05 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.004801, allocations: 8 kB / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.004872, allocations: 23.98 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.004897, allocations: 4.594 kB / 0.8802 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.004968, allocations: 32.75 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.005165, allocations: 71.78 kB / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.00517, allocations: 0 / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/0.005172, allocations: 5.312 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.00518, allocations: 0 / 0.8803 GB, free: 4.43 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.0005195/0.0057, allocations: 406.3 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.005752, allocations: 9.062 kB / 0.8807 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.005824, allocations: 8.891 kB / 0.8807 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.005958, allocations: 112.6 kB / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.005989, allocations: 5.5 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.006009, allocations: 4.375 kB / 0.8809 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.00614, allocations: 50.95 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006149, allocations: 1.219 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.006161, allocations: 384 / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.006169, allocations: 384 / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.006203, allocations: 17.03 kB / 0.8809 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.006631, allocations: 287.7 kB / 0.8812 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.006701, allocations: 35.77 kB / 0.8812 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.006725, allocations: 11.75 kB / 0.8812 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.006734, allocations: 3 kB / 0.8812 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.006901, allocations: 65.05 kB / 0.8813 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 2.534e-06/0.006903, allocations: 0 / 0.8813 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002251/0.007128, allocations: 69.56 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.007176, allocations: 55.41 kB / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.007278, allocations: 169.9 kB / 0.8816 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.007299, allocations: 25.7 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.007368, allocations: 142.8 kB / 0.8817 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.007385, allocations: 5.484 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.007441, allocations: 39.36 kB / 0.8818 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.007577, allocations: 496.1 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.007666, allocations: 57.67 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.007743, allocations: 81.38 kB / 0.8824 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.007852, allocations: 90.41 kB / 0.8825 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.007856, allocations: 0 / 0.8825 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002359/0.008091, allocations: 182.5 kB / 0.8827 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.008136, allocations: 41.64 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008142, allocations: 0 / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.008164, allocations: 4 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.008244, allocations: 0.9062 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.008254, allocations: 3.984 kB / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.008408, allocations: 24.56 kB / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.008424, allocations: 5.594 kB / 0.8827 GB, free: 1.707 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 0.0001038/0.008528, allocations: 164.5 kB / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.008542, allocations: 7.984 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.008574, allocations: 7.938 kB / 0.8829 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.008578, allocations: 4.062 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.008582, allocations: 0 / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008586, allocations: 4 kB / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.008693, allocations: 116.6 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008695, allocations: 0 / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.008713, allocations: 4 kB / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.008722, allocations: 0 / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.008733, allocations: 4 kB / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.008737, allocations: 3.938 kB / 0.883 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.008739, allocations: 0 / 0.883 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.008879, allocations: 100.3 kB / 0.8831 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.008891, allocations: 4 kB / 0.8831 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.008906, allocations: 0 / 0.8831 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.008928, allocations: 11.94 kB / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.008972, allocations: 3.984 kB / 0.8832 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.00898, allocations: 4 kB / 0.8832 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.009035, allocations: 131.2 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009035, allocations: 0 / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001682/0.009203, allocations: 12 kB / 0.8833 GB, free: 1.066 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.0001909/0.009394, allocations: 111.2 kB / 0.8834 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.009615, allocations: 149 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009617, allocations: 0 / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.009647, allocations: 19.77 kB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.009889, allocations: 17.02 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01028, allocations: 130.1 kB / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.01032, allocations: 59.34 kB / 0.8838 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.01034, allocations: 4 kB / 0.8838 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.01037, allocations: 8.5 kB / 0.8838 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of SimCode: time 1.794e-06/0.01037, allocations: 4.125 kB / 0.8838 GB, free: 500 kB / 0.8386 GB Notification: Performance of Templates: time 0.004233/0.0146, allocations: 1.191 MB / 0.8849 GB, free: 15.34 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.755466973176226]