Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 71.91 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7957, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001517/0.7973, allocations: 0.6266 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.7983, allocations: 1.115 MB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.7984, allocations: 1 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.7984, allocations: 3.938 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.7985, allocations: 13.64 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.7989, allocations: 125.3 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.799, allocations: 83.12 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.7991, allocations: 11.84 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.7992, allocations: 38.45 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.7993, allocations: 35.08 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.7993, allocations: 8.25 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.7994, allocations: 22.56 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.7994, allocations: 6.406 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.7994, allocations: 31.33 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.7996, allocations: 89.56 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7996, allocations: 0.75 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7996, allocations: 0 / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7996, allocations: 0.6875 kB / 1.274 GB, free: 6.309 MB / 0.9981 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.0003469/0.7999, allocations: 386.3 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8, allocations: 10.16 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.8, allocations: 30.75 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.8, allocations: 5 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.022e-05/0.8001, allocations: 167.9 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.8001, allocations: 3.188 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.8001, allocations: 5.875 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.8002, allocations: 47.12 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8002, allocations: 4.75 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.8002, allocations: 4 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.8002, allocations: 0.7812 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.8003, allocations: 11.42 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.8006, allocations: 286.8 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.8006, allocations: 33.75 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.8006, allocations: 8.203 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-06/0.8006, allocations: 4.844 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.8008, allocations: 64.5 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.8008, allocations: 0.875 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001762/0.8009, allocations: 68.17 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.801, allocations: 56.31 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.801, allocations: 106.9 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.801, allocations: 31.7 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.8011, allocations: 87.8 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.8011, allocations: 18.3 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.8011, allocations: 30.77 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.8012, allocations: 312.9 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.8012, allocations: 32.81 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.8013, allocations: 50.5 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.551e-05/0.8014, allocations: 93.28 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8014, allocations: 0.9062 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002227/0.8016, allocations: 154.5 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.8017, allocations: 35.48 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8017, allocations: 0 / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8017, allocations: 2 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.8017, allocations: 6.453 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8017, allocations: 1.906 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.8019, allocations: 34.02 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.802, allocations: 5.375 kB / 1.276 GB, free: 4.277 MB / 0.9981 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 5.539e-05/0.802, allocations: 119.3 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.802, allocations: 5.984 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.802, allocations: 5.766 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.802, allocations: 0.7812 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.802, allocations: 0.8438 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.802, allocations: 4.938 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.013e-05/0.8021, allocations: 163.5 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8021, allocations: 6.562 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.8021, allocations: 6.438 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8021, allocations: 3.984 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.8021, allocations: 0.9688 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8021, allocations: 4.875 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8021, allocations: 400 / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.144e-05/0.8022, allocations: 88.52 kB / 1.276 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.8023, allocations: 82.16 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.8023, allocations: 0.75 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.8023, allocations: 5.906 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.8023, allocations: 4.672 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.8023, allocations: 5.844 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.8023, allocations: 85.48 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8023, allocations: 0 / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001991/0.8025, allocations: 23.25 kB / 1.276 GB, free: 3.66 MB / 0.9981 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.0002661/0.8028, allocations: 0.6253 MB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.803, allocations: 117.1 kB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.803, allocations: 0 / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.803, allocations: 8.891 kB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.8032, allocations: 15.75 kB / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.8043, allocations: 1.4 MB / 1.278 GB, free: 17.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8046, allocations: 0.6803 MB / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.8046, allocations: 3.125 kB / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.8046, allocations: 14.78 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8046, allocations: 1.094 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.83, allocations: 1.991 MB / 1.281 GB, free: 16.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/7.61, allocations: 15.86 kB / 1.281 GB, free: 16.57 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.941639169000155]