Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001767/0.001767, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002185/0.002185, allocations: 189.1 kB / 16.25 MB, free: 6.621 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.633/1.633, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.061/3.061, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 0.8688 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.9141, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002264/0.9165, allocations: 0.6751 MB / 1.017 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.9183, allocations: 1.097 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.9183, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.9184, allocations: 3.938 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.9185, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.919, allocations: 119.6 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.9192, allocations: 95.77 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.9193, allocations: 15.98 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.9194, allocations: 27.98 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.9195, allocations: 35.83 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.9196, allocations: 8 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.9196, allocations: 16 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.9197, allocations: 7.984 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.9197, allocations: 35.84 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.9199, allocations: 75.84 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9199, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.074e-06/0.92, allocations: 7.938 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.92, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 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.0005992/0.9206, allocations: 388.7 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 8.505e-05/0.9207, allocations: 12.08 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.9207, allocations: 4.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.9209, allocations: 164.3 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.921, allocations: 4.375 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.921, allocations: 12.31 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.9211, allocations: 38.25 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9211, allocations: 192 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.9212, allocations: 7.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9212, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.9212, allocations: 11.98 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.9217, allocations: 292.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.467e-05/0.9218, allocations: 34.45 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.9218, allocations: 16.91 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.9218, allocations: 4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.922, allocations: 55.41 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.922, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002429/0.9223, allocations: 69.61 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.9224, allocations: 55.41 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.9225, allocations: 113.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.9225, allocations: 25.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.9226, allocations: 96.05 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.9226, allocations: 11.89 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.9227, allocations: 33.69 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.9229, allocations: 314.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.923, allocations: 27.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.9231, allocations: 50.61 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.9233, allocations: 92.22 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9233, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002942/0.9236, allocations: 147.3 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.9237, allocations: 37.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9237, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.9237, allocations: 7.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.9238, allocations: 3.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9238, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.924, allocations: 39.86 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.9241, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 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.0001413/0.9242, allocations: 117.8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.9242, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.9243, allocations: 7.844 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.9243, allocations: 3.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.9243, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9243, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.9245, allocations: 169.6 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9245, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.9245, allocations: 7.984 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9245, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.9246, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9246, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9246, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.9247, allocations: 85.06 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.9248, allocations: 85.02 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.9248, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.9249, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.9249, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.9249, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.026e-05/0.925, allocations: 87.2 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.925, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002272/0.9252, allocations: 16 kB / 1.022 GB, free: 13.34 MB / 0.7794 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.0002354/0.9255, allocations: 103.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.9258, allocations: 123.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.9258, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.9259, allocations: 20.02 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.9261, allocations: 9.344 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.9266, allocations: 142.4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.927, allocations: 0.6846 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.927, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.9271, allocations: 15.38 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.9271, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.00496/0.932, allocations: 1.067 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches