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.0009615/0.0009615, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001025/0.001025, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.194/2.194, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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 1.603e-06/1.603e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.236e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001256/0.001279, allocations: 0.6333 MB / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.00253, allocations: 1.155 MB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.002582, allocations: 1.375 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.002614, allocations: 3.984 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.002699, allocations: 10.56 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.003133, allocations: 124.4 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.003275, allocations: 84.39 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.003366, allocations: 13.08 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.003452, allocations: 47.91 kB / 0.8814 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.003547, allocations: 27.95 kB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.00357, allocations: 8.656 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.003631, allocations: 19.97 kB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.003656, allocations: 13.38 kB / 0.8815 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.003701, allocations: 19.98 kB / 0.8815 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003837, allocations: 79.77 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003839, allocations: 0 / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00384, allocations: 3.906 kB / 0.8816 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.003845, allocations: 0 / 0.8816 GB, free: 3.848 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.0003863/0.004231, allocations: 402.3 kB / 0.8819 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.004269, allocations: 12.03 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.00431, allocations: 12.89 kB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.004405, allocations: 112.6 kB / 0.8821 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.004425, allocations: 384 / 0.8821 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.004441, allocations: 12.36 kB / 0.8821 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.004519, allocations: 46.95 kB / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.004528, allocations: 192 / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.004534, allocations: 1.312 kB / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004541, allocations: 384 / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.004563, allocations: 11.88 kB / 0.8821 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.004855, allocations: 269.3 kB / 0.8824 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.004907, allocations: 35.05 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.00492, allocations: 8.25 kB / 0.8824 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.004926, allocations: 1.156 kB / 0.8824 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.152e-05/0.005008, allocations: 65.05 kB / 0.8825 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005009, allocations: 0 / 0.8825 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001526/0.005161, allocations: 65.09 kB / 0.8826 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.005197, allocations: 51.41 kB / 0.8826 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.005274, allocations: 169.9 kB / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.005291, allocations: 29.7 kB / 0.8828 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.005345, allocations: 142.8 kB / 0.8829 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.00536, allocations: 3.953 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.005406, allocations: 39.34 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.005531, allocations: 496.1 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.005583, allocations: 53.67 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-05/0.005644, allocations: 81.55 kB / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.005714, allocations: 81.34 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.005717, allocations: 0 / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.005885, allocations: 170.3 kB / 0.8838 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.005914, allocations: 33.7 kB / 0.8839 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005919, allocations: 1.344 kB / 0.8839 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.00593, allocations: 12.11 kB / 0.8839 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.00597, allocations: 64 / 0.8839 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.005976, allocations: 7.984 kB / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.006077, allocations: 28 kB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.006091, allocations: 8 kB / 0.8839 GB, free: 1.176 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.179e-05/0.006163, allocations: 156.6 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.006173, allocations: 15.91 kB / 0.8841 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.006196, allocations: 8 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.006199, allocations: 3.938 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.006201, allocations: 0 / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006205, allocations: 0 / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.765e-05/0.006272, allocations: 105.2 kB / 0.8842 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.006273, allocations: 4 kB / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-06/0.006282, allocations: 4 kB / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.006283, allocations: 0 / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.006287, allocations: 0 / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006288, allocations: 0 / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.00629, allocations: 3.938 kB / 0.8842 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.539e-05/0.006365, allocations: 92.33 kB / 0.8843 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.006373, allocations: 7.984 kB / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.006381, allocations: 0 / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.00639, allocations: 4 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.006413, allocations: 7.938 kB / 0.8843 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.006415, allocations: 4 kB / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.006456, allocations: 131.2 kB / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006456, allocations: 0 / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001463/0.006602, allocations: 16 kB / 0.8844 GB, free: 0.5625 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.000109/0.006711, allocations: 103.2 kB / 0.8845 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.006869, allocations: 144.7 kB / 0.8847 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00687, allocations: 0 / 0.8847 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.00689, allocations: 19.67 kB / 0.8847 GB, free: 268 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.00704, allocations: 10.3 kB / 0.8847 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.007275, allocations: 138.1 kB / 0.8848 GB, free: 92 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.007306, allocations: 51.36 kB / 0.8849 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.007322, allocations: 4 kB / 0.8849 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.007407, allocations: 86.17 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.007408, allocations: 0 / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.003198/0.01061, allocations: 1.333 MB / 0.8863 GB, free: 14.63 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.908239024225622]