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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001217/0.001217, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.00123/0.00123, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.663/2.663, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 69.84 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7194, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001743/0.7212, allocations: 0.6009 MB / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.7224, allocations: 1.108 MB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.7224, allocations: 1.094 kB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.7225, allocations: 7.938 kB / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.7225, allocations: 5.703 kB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.7229, allocations: 115.8 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.7231, allocations: 101.8 kB / 1.085 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.7232, allocations: 9.578 kB / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.7232, allocations: 29.56 kB / 1.085 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.7233, allocations: 27.69 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.7233, allocations: 8.156 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.7234, allocations: 26.27 kB / 1.085 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.7234, allocations: 6.188 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.7235, allocations: 34.86 kB / 1.085 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.7236, allocations: 80.73 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7236, allocations: 4 kB / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7237, allocations: 0 / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7237, allocations: 0 / 1.085 GB, free: 260 kB / 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.0004165/0.7241, allocations: 383.8 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.7241, allocations: 9.625 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.7242, allocations: 4.625 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.7243, allocations: 168.9 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.7243, allocations: 2.766 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.7244, allocations: 10.12 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.7245, allocations: 39.12 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7245, allocations: 4.781 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7245, allocations: 5.312 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7245, allocations: 0 / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.7245, allocations: 10.75 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.7249, allocations: 290.1 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.725, allocations: 31.25 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.7251, allocations: 17.2 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.7251, allocations: 0 / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.7252, allocations: 63.62 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7252, allocations: 0 / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002031/0.7254, allocations: 72.81 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7255, allocations: 53.16 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.7256, allocations: 110.8 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.7256, allocations: 32.05 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.7257, allocations: 87.55 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.7257, allocations: 7.047 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.7258, allocations: 29.83 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7259, allocations: 318.8 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.726, allocations: 32.75 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/0.7261, allocations: 50.34 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.7262, allocations: 93.02 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7262, allocations: 3.938 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002706/0.7265, allocations: 153.4 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.7266, allocations: 38.8 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7266, allocations: 0.8438 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7266, allocations: 2.25 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.7267, allocations: 2.562 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7267, allocations: 13.52 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.7269, allocations: 29.17 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.7269, allocations: 6.375 kB / 1.087 GB, free: 14.26 MB / 0.8419 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 9.646e-05/0.727, allocations: 119.8 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.727, allocations: 2.094 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.7271, allocations: 5.906 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.7271, allocations: 1.859 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7271, allocations: 4 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7271, allocations: 0.5625 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.7272, allocations: 167.8 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7272, allocations: 0.8125 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.7273, allocations: 1.312 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7273, allocations: 1.516 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7273, allocations: 5.312 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7273, allocations: 1.031 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7273, allocations: 0.6562 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.7274, allocations: 94.91 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.7275, allocations: 83.25 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.7275, allocations: 2 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.7275, allocations: 4.984 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.7275, allocations: 2.5 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.7275, allocations: 2.062 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.7276, allocations: 83.34 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7276, allocations: 0.9375 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000208/0.7278, allocations: 22.28 kB / 1.088 GB, free: 13.65 MB / 0.8419 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.0001368/0.728, allocations: 104.3 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.7282, allocations: 129.3 kB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7282, allocations: 0 / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.7283, allocations: 22.62 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.7284, allocations: 11.05 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.7288, allocations: 162.2 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.7291, allocations: 0.681 MB / 1.089 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.7291, allocations: 10.06 kB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.7291, allocations: 0 / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.002667/0.7318, allocations: 0.9333 MB / 1.09 GB, free: 12.52 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches