Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001966/0.001966, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002193/0.002193, allocations: 167.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.964/2.964, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.9814 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.444e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001777/0.001811, allocations: 0.5979 MB / 0.982 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.003603, allocations: 1.131 MB / 0.9831 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.003644, allocations: 0 / 0.9831 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.003674, allocations: 3.938 kB / 0.9831 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.003739, allocations: 4 kB / 0.9831 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.004238, allocations: 135.4 kB / 0.9832 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.004402, allocations: 83.88 kB / 0.9833 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.004486, allocations: 15.98 kB / 0.9833 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004598, allocations: 47.91 kB / 0.9834 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.004695, allocations: 27.91 kB / 0.9834 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.004727, allocations: 11.98 kB / 0.9834 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.004796, allocations: 19.92 kB / 0.9834 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.00482, allocations: 11.94 kB / 0.9834 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.00488, allocations: 23.97 kB / 0.9835 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.005069, allocations: 99.81 kB / 0.9836 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005071, allocations: 4 kB / 0.9836 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005072, allocations: 0 / 0.9836 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005077, allocations: 0 / 0.9836 GB, free: 8.75 MB / 0.8887 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.0004795/0.005556, allocations: 303.9 kB / 0.9839 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.005594, allocations: 8.031 kB / 0.9839 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.005644, allocations: 16.77 kB / 0.9839 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.005742, allocations: 105.8 kB / 0.984 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.005767, allocations: 8.359 kB / 0.984 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.005787, allocations: 4.375 kB / 0.984 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005895, allocations: 42.25 kB / 0.984 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005902, allocations: 192 / 0.984 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.005911, allocations: 4.375 kB / 0.984 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005916, allocations: 384 / 0.984 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.005962, allocations: 19.92 kB / 0.9841 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.006397, allocations: 228.5 kB / 0.9843 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.331e-05/0.00647, allocations: 34.56 kB / 0.9843 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.006493, allocations: 4.859 kB / 0.9843 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.006505, allocations: 4.062 kB / 0.9843 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.006643, allocations: 63.39 kB / 0.9844 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.006644, allocations: 0 / 0.9844 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.006859, allocations: 73.56 kB / 0.9844 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.006909, allocations: 55.41 kB / 0.9845 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.007007, allocations: 105.8 kB / 0.9846 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.00704, allocations: 29.7 kB / 0.9846 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.007102, allocations: 92.08 kB / 0.9847 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.00712, allocations: 11.95 kB / 0.9847 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.007191, allocations: 29.7 kB / 0.9848 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.007351, allocations: 310.8 kB / 0.985 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.007462, allocations: 65.67 kB / 0.9851 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.007576, allocations: 80.27 kB / 0.9852 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.007716, allocations: 92.19 kB / 0.9853 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007718, allocations: 0 / 0.9853 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000309/0.008027, allocations: 181 kB / 0.9854 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.008069, allocations: 37.64 kB / 0.9855 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008073, allocations: 0 / 0.9855 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.008089, allocations: 4 kB / 0.9855 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5e-05/0.008139, allocations: 3.938 kB / 0.9855 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.008147, allocations: 4 kB / 0.9855 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.008356, allocations: 39.91 kB / 0.9855 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.008378, allocations: 8 kB / 0.9855 GB, free: 6.484 MB / 0.8887 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.0001049/0.008483, allocations: 117.7 kB / 0.9857 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.008495, allocations: 4 kB / 0.9857 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.008525, allocations: 11.94 kB / 0.9857 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008526, allocations: 0 / 0.9857 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.008532, allocations: 3.984 kB / 0.9857 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008535, allocations: 0 / 0.9857 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.00864, allocations: 109.3 kB / 0.9858 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008642, allocations: 4 kB / 0.9858 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.008659, allocations: 4.062 kB / 0.9858 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.008664, allocations: 4 kB / 0.9858 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.008671, allocations: 0 / 0.9858 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.008674, allocations: 3.938 kB / 0.9858 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008675, allocations: 0 / 0.9858 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.008854, allocations: 93.23 kB / 0.9859 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.008863, allocations: 3.984 kB / 0.9859 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.008875, allocations: 0 / 0.9859 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.008893, allocations: 11.94 kB / 0.9859 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.008916, allocations: 0 / 0.9859 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.00892, allocations: 4 kB / 0.9859 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.008991, allocations: 95.64 kB / 0.986 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.008991, allocations: 0 / 0.986 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000218/0.009209, allocations: 16 kB / 0.986 GB, free: 5.945 MB / 0.8887 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.0001967/0.009405, allocations: 99.23 kB / 0.9861 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.009649, allocations: 145 kB / 0.9862 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009651, allocations: 0 / 0.9862 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.009686, allocations: 12 kB / 0.9863 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.009892, allocations: 13.67 kB / 0.9863 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.01018, allocations: 128.7 kB / 0.9864 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.01029, allocations: 63.34 kB / 0.9864 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.01031, allocations: 3.984 kB / 0.9865 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.01033, allocations: 12.5 kB / 0.9865 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of SimCode: time 3.61e-07/0.01033, allocations: 0 / 0.9865 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of Templates: time 0.004145/0.01447, allocations: 1.175 MB / 0.9876 GB, free: 4.258 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.436806168407202]