Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001424/0.001424, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.554/1.554, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.082/3.082, allocations: 469.8 MB / 0.7423 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003259/0.00326, allocations: 64.94 kB / 0.9085 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4181, allocations: 159.2 MB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002627/0.4207, allocations: 0.5964 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.4226, allocations: 1.114 MB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.4228, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.4228, allocations: 7.922 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.4229, allocations: 3.938 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.4235, allocations: 119 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.4238, allocations: 95.83 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4239, allocations: 7.984 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.424, allocations: 35.97 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.4241, allocations: 23.91 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.4241, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.4242, allocations: 31.92 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.4242, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.4243, allocations: 39.84 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.4245, allocations: 79.84 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4246, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4246, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.4246, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 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.0006447/0.4252, allocations: 373.4 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4253, allocations: 8.031 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.4254, allocations: 12.86 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.4255, allocations: 172.3 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4256, allocations: 4.375 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.4256, allocations: 8.375 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.4257, allocations: 42.25 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4257, allocations: 192 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4258, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4258, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.4258, allocations: 11.94 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.4264, allocations: 296.8 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.374e-05/0.4265, allocations: 26.52 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.4265, allocations: 16.91 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.4265, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.4268, allocations: 63.33 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4268, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002857/0.4271, allocations: 69.69 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.4272, allocations: 51.41 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4273, allocations: 109.8 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.4274, allocations: 33.7 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.4275, allocations: 88.14 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4275, allocations: 11.88 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.4276, allocations: 29.7 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4277, allocations: 314.8 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.4278, allocations: 27.98 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4279, allocations: 58.48 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4281, allocations: 84.34 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4281, allocations: 3.938 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003133/0.4284, allocations: 151.3 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.4285, allocations: 37.7 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4285, allocations: 3.938 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.4285, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.4286, allocations: 12 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4286, allocations: 0 / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.4289, allocations: 31.86 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.4289, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 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.0001312/0.4291, allocations: 121.8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.4291, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.4291, allocations: 7.891 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4291, allocations: 4.234 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4291, allocations: 4 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4292, allocations: 7.922 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.4293, allocations: 165.6 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4294, allocations: 0 / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.4294, allocations: 3.984 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4294, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4294, allocations: 4 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4294, allocations: 0 / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4294, allocations: 0 / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4296, allocations: 92.91 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.4296, allocations: 81.11 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.4297, allocations: 7.984 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.4297, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4297, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.4297, allocations: 8 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.293e-05/0.4298, allocations: 87.27 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4298, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002432/0.4301, allocations: 20 kB / 1.069 GB, free: 9.027 MB / 0.8262 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.0002148/0.4303, allocations: 103.2 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.4306, allocations: 127.3 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4306, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.4306, allocations: 16 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4308, allocations: 15.92 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.4313, allocations: 130 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4316, allocations: 0.6768 MB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.4317, allocations: 7.938 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.4317, allocations: 11.44 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.4317, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.005794/0.4375, allocations: 1.08 MB / 1.071 GB, free: 6.809 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches