Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001169/0.001169, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.376/2.376, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 71.09 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2226, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001583/0.2242, allocations: 0.6687 MB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2253, allocations: 1.12 MB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.2254, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.2254, allocations: 3.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.2255, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.2258, allocations: 115 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.226, allocations: 95.81 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.226, allocations: 7.984 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.2261, allocations: 31.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.2262, allocations: 31.91 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2262, allocations: 8 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.2262, allocations: 27.97 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.2263, allocations: 4 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.2263, allocations: 35.84 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2264, allocations: 83.84 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2265, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2265, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2265, allocations: 3.938 kB / 1.055 GB, free: 6.418 MB / 0.8106 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.0003654/0.2268, allocations: 381.4 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2269, allocations: 8.625 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.2269, allocations: 30.75 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2269, allocations: 4.938 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.947e-05/0.227, allocations: 168.4 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.2271, allocations: 384 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2271, allocations: 12.31 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.166e-05/0.2272, allocations: 38.25 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2272, allocations: 7.922 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.2272, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2272, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.2272, allocations: 15.94 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.2276, allocations: 296.7 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.2276, allocations: 30.45 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.2276, allocations: 8.922 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2277, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.2278, allocations: 71.39 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2278, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.2279, allocations: 73.61 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.228, allocations: 51.41 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.2281, allocations: 113.7 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.2281, allocations: 33.7 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.2281, allocations: 84.14 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.2281, allocations: 11.91 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.2282, allocations: 29.7 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.2283, allocations: 314.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.2284, allocations: 31.98 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.2285, allocations: 50.56 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.2286, allocations: 88.14 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2286, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002226/0.2288, allocations: 151.3 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.2288, allocations: 38.78 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2288, allocations: 0 / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.2289, allocations: 3.938 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.2289, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2289, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.2291, allocations: 32.03 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.2291, allocations: 7.984 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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 7.777e-05/0.2292, allocations: 119.3 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.2292, allocations: 3.906 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.2292, allocations: 11.84 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2292, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2293, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2293, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2294, allocations: 165.6 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2294, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.2294, allocations: 4.062 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2294, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2294, allocations: 8 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2294, allocations: 7.922 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2294, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.2295, allocations: 81.06 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.2296, allocations: 81.02 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2296, allocations: 8.281 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.299e-05/0.2296, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.2296, allocations: 3.984 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2296, allocations: 4 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.2297, allocations: 91.59 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2297, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001904/0.2299, allocations: 16 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0003343/0.2302, allocations: 0.6358 MB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.2304, allocations: 127.3 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2304, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.2305, allocations: 12 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.2306, allocations: 11.98 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2318, allocations: 1.396 MB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.232, allocations: 0.6807 MB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.232, allocations: 4 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.2321, allocations: 11.44 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2321, allocations: 4 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.228/2.46, allocations: 1.91 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/2.461, allocations: 225.1 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/3.975, allocations: 4 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches