Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BooleanToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_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.0008789/0.0008786, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00707/0.00707, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.273/1.273, 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.304/2.304, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7001, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008169/0.7009, allocations: 335.1 kB / 0.9555 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.7022, allocations: 1.111 MB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.7022, allocations: 1.344 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.7023, allocations: 3.938 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.7023, allocations: 1.312 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.7027, allocations: 119.3 kB / 0.9567 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.7028, allocations: 76.67 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.7029, allocations: 7.391 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.703, allocations: 31.62 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.7031, allocations: 31.41 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.7031, allocations: 3.969 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.7032, allocations: 19.14 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.7032, allocations: 5.109 kB / 0.9569 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.7033, allocations: 51.5 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.7034, allocations: 80.52 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7034, allocations: 0 / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.614e-06/0.7034, allocations: 0 / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.7034, allocations: 0 / 0.957 GB, free: 6.188 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.0003708/0.7038, allocations: 371.6 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.7039, allocations: 12.55 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.7039, allocations: 31.84 kB / 0.9574 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.704, allocations: 9.219 kB / 0.9574 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.704, allocations: 166.5 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.7041, allocations: 2.688 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.7041, allocations: 5.125 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.7042, allocations: 43.5 kB / 0.9576 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7042, allocations: 5.188 kB / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7042, allocations: 0 / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7042, allocations: 3.938 kB / 0.9576 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.7043, allocations: 13.8 kB / 0.9576 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.7046, allocations: 288.3 kB / 0.9579 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.7047, allocations: 32.5 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.7048, allocations: 17.36 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.7048, allocations: 0 / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.7049, allocations: 63.34 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.7049, allocations: 0 / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001759/0.7051, allocations: 71.38 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.7051, allocations: 56.41 kB / 0.9581 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.7052, allocations: 111.1 kB / 0.9582 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7052, allocations: 27.48 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.7053, allocations: 91.73 kB / 0.9584 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.7053, allocations: 9.688 kB / 0.9584 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.7053, allocations: 13.94 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.7054, allocations: 321 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.7054, allocations: 31.02 kB / 0.9587 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.7055, allocations: 52.09 kB / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.7056, allocations: 89.8 kB / 0.9588 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7056, allocations: 5.031 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002298/0.7059, allocations: 149.1 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.7059, allocations: 45.41 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7059, allocations: 1.094 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7059, allocations: 1.031 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.706, allocations: 3.406 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.706, allocations: 0.9688 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.7062, allocations: 37.81 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.7063, allocations: 8.125 kB / 0.9591 GB, free: 4.051 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: 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.028e-05/0.7063, allocations: 123 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.7063, allocations: 2.562 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.7064, allocations: 3.906 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7064, allocations: 1.188 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7064, allocations: 0 / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7064, allocations: 1.281 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.765e-05/0.7065, allocations: 168.8 kB / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7065, allocations: 3.938 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.7065, allocations: 10.09 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7065, allocations: 0 / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7065, allocations: 1.156 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7065, allocations: 1 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7065, allocations: 0 / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.525e-05/0.7066, allocations: 90.05 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.7067, allocations: 82.27 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.7067, allocations: 1.188 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.7067, allocations: 4 kB / 0.9596 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.7067, allocations: 6.578 kB / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.7067, allocations: 5 kB / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.833e-05/0.7068, allocations: 84.41 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7068, allocations: 1.375 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002035/0.707, allocations: 13.97 kB / 0.9597 GB, free: 3.422 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: 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.0002804/0.7073, allocations: 0.6356 MB / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.7075, allocations: 125.9 kB / 0.9604 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7075, allocations: 0 / 0.9604 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.7075, allocations: 16.89 kB / 0.9604 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.7077, allocations: 9.125 kB / 0.9604 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.7088, allocations: 1.4 MB / 0.9618 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.471e-05/0.7089, allocations: 0.6837 MB / 0.9625 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.7089, allocations: 2.75 kB / 0.9625 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.709, allocations: 12.81 kB / 0.9625 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.709, allocations: 0 / 0.9625 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.7207, allocations: 1.774 MB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.7209, allocations: 218 kB / 0.9644 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.4, allocations: 0 / 0.9644 GB, free: 15.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches