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.00195/0.00195, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002744/0.002744, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.545/1.545, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 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.904/2.904, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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 1.683e-06/1.683e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.926e-05, allocations: 7.5 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001782/0.001812, allocations: 0.6128 MB / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.003527, allocations: 1.129 MB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.00357, allocations: 1.594 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.003594, allocations: 0 / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.003662, allocations: 11.92 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.004106, allocations: 124.5 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.00427, allocations: 83.89 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.004345, allocations: 12.77 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.004446, allocations: 43.91 kB / 0.8128 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004552, allocations: 29.64 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.00458, allocations: 8 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.004643, allocations: 19.98 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.004668, allocations: 11.92 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.004726, allocations: 25.52 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.004926, allocations: 95.83 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004928, allocations: 0 / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004929, allocations: 0 / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.004931, allocations: 1.156 kB / 0.8129 GB, free: 15.93 MB / 0.7761 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.0004642/0.005396, allocations: 303.9 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.005432, allocations: 11.97 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.005485, allocations: 10.25 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.005602, allocations: 113.7 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.005622, allocations: 4.375 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.005645, allocations: 8.375 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.005736, allocations: 40 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.005745, allocations: 192 / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.005754, allocations: 384 / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005758, allocations: 384 / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.005802, allocations: 11.94 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.006214, allocations: 233.7 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.33e-05/0.006287, allocations: 26.58 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.006315, allocations: 10.55 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.006328, allocations: 4.062 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.006485, allocations: 63.39 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006486, allocations: 0 / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000228/0.006714, allocations: 84.09 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.006761, allocations: 51.41 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.00687, allocations: 110.1 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.006905, allocations: 29.7 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.006976, allocations: 88.14 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.006993, allocations: 7.891 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.007068, allocations: 29.7 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.007246, allocations: 319.5 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.007361, allocations: 61.69 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.007487, allocations: 84.84 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.00774, allocations: 89.86 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007742, allocations: 0 / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003304/0.008073, allocations: 185.6 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.008124, allocations: 45.62 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008128, allocations: 0.9062 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.008145, allocations: 0 / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.008195, allocations: 5.094 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.0082, allocations: 4 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.008422, allocations: 28.81 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.008445, allocations: 7.938 kB / 0.8149 GB, free: 13.68 MB / 0.7761 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.0001105/0.008555, allocations: 122.3 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.00857, allocations: 4.797 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.008597, allocations: 11.94 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008598, allocations: 2.328 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.008602, allocations: 0 / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.008606, allocations: 3.984 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.008726, allocations: 113.3 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.008727, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.008742, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008743, allocations: 0.5312 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00875, allocations: 6.562 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.008753, allocations: 3.938 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.008754, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.008899, allocations: 89.05 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.008909, allocations: 3.953 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.008921, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.00894, allocations: 7.938 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.008971, allocations: 5.703 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.00898, allocations: 4 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.206e-05/0.009042, allocations: 87.27 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009042, allocations: 0 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002331/0.009275, allocations: 23.98 kB / 0.8154 GB, free: 13.14 MB / 0.7761 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.0001511/0.009426, allocations: 100.2 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.009683, allocations: 151 kB / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009685, allocations: 0 / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.009717, allocations: 8 kB / 0.8156 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.009927, allocations: 15.22 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.01024, allocations: 132.5 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.011e-05/0.01031, allocations: 68.06 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.01033, allocations: 0 / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.01036, allocations: 17.16 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01036, allocations: 0 / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.004165/0.01452, allocations: 1.191 MB / 0.817 GB, free: 11.46 MB / 0.7761 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: 7.827546931919642]