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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005787/0.005787, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001152/0.001152, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8707, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00159/0.8723, allocations: 0.6103 MB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.8735, allocations: 1.114 MB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.8735, allocations: 1.125 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.8736, allocations: 0 / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.8736, allocations: 5.766 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.8741, allocations: 132.1 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.8742, allocations: 95.53 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.8743, allocations: 5 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.8744, allocations: 37.31 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.8745, allocations: 40.36 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.8745, allocations: 7.281 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.8746, allocations: 18.14 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.8746, allocations: 7.547 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.8747, allocations: 26.25 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.8748, allocations: 88.12 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8748, allocations: 0 / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8749, allocations: 0.6094 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8749, allocations: 0.9375 kB / 1.09 GB, free: 3.875 MB / 0.8575 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.0003858/0.8753, allocations: 383.1 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.8753, allocations: 9.219 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.317e-05/0.8753, allocations: 36.92 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.8754, allocations: 5 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.015e-05/0.8754, allocations: 176 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.8755, allocations: 4.234 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.8755, allocations: 8.562 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.971e-05/0.8756, allocations: 36.11 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.8756, allocations: 3.938 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.8756, allocations: 5.062 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8756, allocations: 0 / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.8757, allocations: 15.11 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.876, allocations: 290.2 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.876, allocations: 35.33 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.8761, allocations: 13.14 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.8761, allocations: 0 / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.8762, allocations: 62.77 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.8762, allocations: 0 / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.8764, allocations: 69.78 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.8765, allocations: 53.22 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.8765, allocations: 114.2 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.8766, allocations: 29.23 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.8766, allocations: 83.2 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.8766, allocations: 13.81 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.8767, allocations: 31.06 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.8767, allocations: 317.7 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.8768, allocations: 28.03 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.8769, allocations: 54.58 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.877, allocations: 93.02 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.877, allocations: 0 / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002311/0.8772, allocations: 146.2 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.8773, allocations: 34.75 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8773, allocations: 1.734 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8773, allocations: 1.188 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.8774, allocations: 8.172 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8774, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.8776, allocations: 40.8 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.8776, allocations: 6.719 kB / 1.092 GB, free: 1.84 MB / 0.8575 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 6.348e-05/0.8777, allocations: 120.8 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.8777, allocations: 1.781 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.8777, allocations: 9.781 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8777, allocations: 1.375 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8777, allocations: 0.75 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8777, allocations: 0.9375 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.464e-05/0.8778, allocations: 174.8 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8778, allocations: 1.219 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.8779, allocations: 2.422 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8779, allocations: 4.609 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.8779, allocations: 4.844 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8779, allocations: 1.422 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8779, allocations: 0.75 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.878, allocations: 90.75 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.878, allocations: 83.39 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.878, allocations: 1.312 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.8781, allocations: 1.5 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.8781, allocations: 7.344 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.8781, allocations: 1.312 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.8781, allocations: 82.75 kB / 1.092 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8781, allocations: 1.281 kB / 1.092 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002128/0.8784, allocations: 18.86 kB / 1.092 GB, free: 1.227 MB / 0.8575 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.0003907/0.8788, allocations: 0.6251 MB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.879, allocations: 126.7 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.879, allocations: 0 / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.8791, allocations: 14.94 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.8793, allocations: 15.02 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.8808, allocations: 1.39 MB / 1.094 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.8811, allocations: 0.6801 MB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.8812, allocations: 3.141 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.8812, allocations: 14.89 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.8812, allocations: 0 / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.9228, allocations: 2.056 MB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.584, allocations: 8.094 kB / 1.097 GB, free: 14.11 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > 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