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: "" <> 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.0008695/0.0008694, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.001087/0.001087, allocations: 172.2 kB / 16.26 MB, free: 6.656 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.283/2.283, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7213, allocations: 142.4 MB / 0.9552 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007887/0.7221, allocations: 339.2 kB / 0.9555 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.7233, allocations: 1.112 MB / 0.9566 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.7234, allocations: 1.125 kB / 0.9566 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.7234, allocations: 3.938 kB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.7235, allocations: 4.859 kB / 0.9566 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.7239, allocations: 110.8 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.7241, allocations: 76.5 kB / 0.9568 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.7242, allocations: 7.688 kB / 0.9568 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.7242, allocations: 39.03 kB / 0.9568 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.7243, allocations: 22.97 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.7243, allocations: 5.125 kB / 0.9569 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.558e-05/0.7244, allocations: 18.61 kB / 0.9569 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.7244, allocations: 6.016 kB / 0.9569 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.7245, allocations: 50.44 kB / 0.9569 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.7246, allocations: 80.02 kB / 0.957 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7246, allocations: 0 / 0.957 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7247, allocations: 1.156 kB / 0.957 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.7247, allocations: 0 / 0.957 GB, free: 6.352 MB / 0.7169 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.0003634/0.725, allocations: 371 kB / 0.9574 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7251, allocations: 8.906 kB / 0.9574 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.7251, allocations: 36.03 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.7252, allocations: 12.14 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.7253, allocations: 166.9 kB / 0.9576 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.7253, allocations: 6.625 kB / 0.9576 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.7253, allocations: 4.938 kB / 0.9576 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/0.7254, allocations: 48.58 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7254, allocations: 3.938 kB / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.7254, allocations: 0 / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7254, allocations: 5.062 kB / 0.9576 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.7255, allocations: 5.562 kB / 0.9576 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.7258, allocations: 292.9 kB / 0.9579 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.217e-05/0.7259, allocations: 32.05 kB / 0.9579 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.7259, allocations: 12.84 kB / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.7259, allocations: 0 / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.726, allocations: 68.23 kB / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.726, allocations: 0 / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001857/0.7262, allocations: 74.53 kB / 0.9581 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.7263, allocations: 52.81 kB / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.7263, allocations: 107 kB / 0.9582 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7264, allocations: 27.95 kB / 0.9583 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.7264, allocations: 90.66 kB / 0.9584 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.7264, allocations: 14.45 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.7265, allocations: 17.62 kB / 0.9584 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.7265, allocations: 311.9 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.7266, allocations: 31.89 kB / 0.9587 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.7267, allocations: 56.39 kB / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.7268, allocations: 94.02 kB / 0.9589 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7268, allocations: 1.219 kB / 0.9589 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002241/0.727, allocations: 149 kB / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.7271, allocations: 32.58 kB / 0.959 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7271, allocations: 1.188 kB / 0.959 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7271, allocations: 1.156 kB / 0.959 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.7272, allocations: 6.453 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.7272, allocations: 1.094 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.7274, allocations: 46 kB / 0.9591 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.7274, allocations: 4.906 kB / 0.9591 GB, free: 4.211 MB / 0.7169 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.632e-05/0.7275, allocations: 115.2 kB / 0.9592 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.7275, allocations: 12.89 kB / 0.9592 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.7275, allocations: 9.719 kB / 0.9592 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7276, allocations: 4 kB / 0.9592 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.7276, allocations: 0 / 0.9592 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7276, allocations: 3.938 kB / 0.9592 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.478e-05/0.7277, allocations: 165.4 kB / 0.9594 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7277, allocations: 4.062 kB / 0.9594 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.7277, allocations: 2.094 kB / 0.9594 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7277, allocations: 1.844 kB / 0.9594 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.7277, allocations: 4 kB / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7277, allocations: 0 / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7277, allocations: 1.844 kB / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.402e-05/0.7278, allocations: 88.23 kB / 0.9595 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.7278, allocations: 82.89 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.7279, allocations: 1.844 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.7279, allocations: 0 / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.7279, allocations: 1.469 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.7279, allocations: 1.75 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.7279, allocations: 89.3 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.11e-07/0.7279, allocations: 3.938 kB / 0.9597 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002048/0.7282, allocations: 22.34 kB / 0.9597 GB, free: 3.57 MB / 0.7169 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.0002777/0.7284, allocations: 0.6242 MB / 0.9603 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.7286, allocations: 127.5 kB / 0.9604 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7287, allocations: 0 / 0.9604 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.7287, allocations: 17.02 kB / 0.9604 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.7289, allocations: 12.59 kB / 0.9604 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.73, allocations: 1.403 MB / 0.9618 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.7301, allocations: 0.6837 MB / 0.9625 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.7301, allocations: 1.375 kB / 0.9625 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.7302, allocations: 10.19 kB / 0.9625 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7302, allocations: 0 / 0.9625 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.7423, allocations: 1.771 MB / 0.9642 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.7425, allocations: 218.1 kB / 0.9644 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.441, allocations: 0 / 0.9644 GB, free: 15.72 MB / 0.7325 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