Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 209.6 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.158/3.158, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 73.48 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3694, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002167/0.3716, allocations: 0.6128 MB / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3733, allocations: 1.132 MB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.3733, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.3734, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.3734, allocations: 7.938 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.374, allocations: 119.3 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3742, allocations: 91.83 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.686e-05/0.3743, allocations: 8 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.3744, allocations: 39.89 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3745, allocations: 27.91 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3745, allocations: 8 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.3746, allocations: 19.98 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.3746, allocations: 11.98 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.3747, allocations: 27.92 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3749, allocations: 95.98 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3749, allocations: 0 / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3749, allocations: 0 / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3749, allocations: 0 / 1.327 GB, free: 212 kB / 1.014 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.0005199/0.3754, allocations: 300 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3755, allocations: 8.031 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.3755, allocations: 34.73 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.3755, allocations: 8.891 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3757, allocations: 110.5 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3757, allocations: 8.312 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3757, allocations: 12.31 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3758, allocations: 38.25 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3758, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3758, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3758, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.3759, allocations: 11.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.3763, allocations: 240 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.3764, allocations: 34.45 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.3765, allocations: 20.77 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3765, allocations: 8.062 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.3767, allocations: 63.34 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.3767, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.3769, allocations: 65.62 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3769, allocations: 55.41 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.377, allocations: 109.8 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3771, allocations: 25.7 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3771, allocations: 92.12 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3771, allocations: 15.89 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.3772, allocations: 29.7 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3774, allocations: 314.8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3775, allocations: 65.69 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3776, allocations: 80.25 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3777, allocations: 92.2 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3777, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.378, allocations: 177 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.3781, allocations: 41.69 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3781, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3781, allocations: 4 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.3781, allocations: 4.062 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3782, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3783, allocations: 27.92 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3784, allocations: 7.984 kB / 1.329 GB, free: 13.88 MB / 1.029 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 0.0001117/0.3785, allocations: 118.3 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.3785, allocations: 7.938 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.3785, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3785, allocations: 3.938 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3785, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3785, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3787, allocations: 144.6 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.3787, allocations: 4 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3787, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.3788, allocations: 89.02 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.3788, allocations: 3.984 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3789, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.3789, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3789, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.3789, allocations: 11.88 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.379, allocations: 83.27 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.379, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002223/0.3792, allocations: 20 kB / 1.33 GB, free: 13.29 MB / 1.029 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.0004884/0.3797, allocations: 0.6241 MB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.38, allocations: 141.3 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.38, allocations: 8.125 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.38, allocations: 12.09 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3802, allocations: 13.86 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3819, allocations: 1.519 MB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.045e-05/0.382, allocations: 63.34 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.382, allocations: 7.891 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.3821, allocations: 19.38 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3821, allocations: 4 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.4142, allocations: 2.637 MB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 8.062 kB / 1.335 GB, free: 8.211 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.629104261752218]