Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 105 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.06 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2783, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001756/0.2801, allocations: 0.6141 MB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2814, allocations: 1.111 MB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.2814, allocations: 3.938 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.2814, allocations: 3.938 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.2815, allocations: 7.938 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.2819, allocations: 119.6 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2821, allocations: 99.88 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.2822, allocations: 11.98 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.2822, allocations: 35.92 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.2823, allocations: 35.88 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.2823, allocations: 8 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.2824, allocations: 27.92 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2824, allocations: 0 / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.2825, allocations: 31.92 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2826, allocations: 79.78 kB / 0.9533 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2826, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2827, allocations: 4 kB / 0.9533 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2827, allocations: 0 / 0.9533 GB, free: 5.867 MB / 0.7325 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.0004201/0.2831, allocations: 381.1 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2831, allocations: 8.031 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.2832, allocations: 8.844 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.2833, allocations: 172.3 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2833, allocations: 384 / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.2833, allocations: 8.375 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.2834, allocations: 38.25 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2834, allocations: 4.188 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2834, allocations: 7.875 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2834, allocations: 0 / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.2835, allocations: 15.98 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.2838, allocations: 288.8 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.794e-05/0.2839, allocations: 34.5 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.2839, allocations: 12.92 kB / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.284, allocations: 4 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.2841, allocations: 63.33 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2841, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001823/0.2843, allocations: 65.69 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2843, allocations: 51.41 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.2844, allocations: 109.8 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2844, allocations: 29.7 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.2845, allocations: 92.03 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.2845, allocations: 15.84 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.2846, allocations: 29.7 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2847, allocations: 318.8 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.2848, allocations: 27.98 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.2849, allocations: 58.61 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.285, allocations: 84.27 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.285, allocations: 3.938 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002402/0.2852, allocations: 151.2 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.2853, allocations: 35.73 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2853, allocations: 0 / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2853, allocations: 0 / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.2854, allocations: 8 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2854, allocations: 3.984 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2856, allocations: 28.03 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2856, allocations: 4.625 kB / 0.9553 GB, free: 3.48 MB / 0.7325 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 8.583e-05/0.2857, allocations: 119.8 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.2857, allocations: 11.84 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.2857, allocations: 11.88 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2857, allocations: 0 / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2857, allocations: 4 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2858, allocations: 4 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2859, allocations: 165.6 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2859, allocations: 0 / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.2859, allocations: 7.984 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2859, allocations: 0 / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2859, allocations: 0 / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.2859, allocations: 11.92 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2859, allocations: 0 / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.286, allocations: 81.06 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.2861, allocations: 85.02 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2861, allocations: 3.984 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2861, allocations: 8 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.2862, allocations: 4 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.2862, allocations: 0 / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.2862, allocations: 87.27 kB / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2862, allocations: 0 / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002085/0.2864, allocations: 24 kB / 0.9559 GB, free: 2.762 MB / 0.7325 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.0001194/0.2866, allocations: 99.25 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2868, allocations: 131.3 kB / 0.9561 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2868, allocations: 0 / 0.9561 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.2868, allocations: 12 kB / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.287, allocations: 15.88 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.2873, allocations: 130 kB / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.2876, allocations: 0.6885 MB / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.2876, allocations: 4 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.2876, allocations: 7.438 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2876, allocations: 0 / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.003169/0.2908, allocations: 1.081 MB / 0.958 GB, free: 0.543 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches