Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_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.006774/0.006774, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.00167/0.00167, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437.1 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3241, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001937/0.326, allocations: 0.6107 MB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3276, allocations: 1.121 MB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.3276, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.3277, allocations: 3.938 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.3278, allocations: 3.938 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.3284, allocations: 123.1 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3286, allocations: 95.88 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.3287, allocations: 7.984 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.3288, allocations: 35.92 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3289, allocations: 39.88 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3289, allocations: 8 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.329, allocations: 23.98 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.329, allocations: 3.938 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.3291, allocations: 31.91 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3293, allocations: 79.8 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3293, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3293, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3293, allocations: 3.984 kB / 1.168 GB, free: 5.074 MB / 0.92 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.0004716/0.3298, allocations: 380 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3298, allocations: 11.97 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.3299, allocations: 30.75 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.3299, allocations: 8.938 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3301, allocations: 177.1 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3301, allocations: 384 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3301, allocations: 12.36 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.317e-05/0.3302, allocations: 34.27 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3302, allocations: 3.938 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3303, allocations: 7.922 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3303, allocations: 4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.3303, allocations: 8 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.3307, allocations: 292.8 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.3308, allocations: 30.52 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.3308, allocations: 8.922 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.3308, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.331, allocations: 67.33 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.331, allocations: 0 / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000203/0.3312, allocations: 73.59 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3313, allocations: 55.39 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.3314, allocations: 105.8 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3314, allocations: 29.7 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3315, allocations: 84.14 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.3315, allocations: 11.84 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.3315, allocations: 33.7 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3317, allocations: 318.8 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.3317, allocations: 27.98 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.3318, allocations: 50.56 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.332, allocations: 92.27 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.332, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002864/0.3323, allocations: 155.1 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.3323, allocations: 41.69 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3323, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3323, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.3324, allocations: 4.234 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3324, allocations: 0 / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3326, allocations: 28.03 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3326, allocations: 4 kB / 1.17 GB, free: 2.652 MB / 0.92 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 9.249e-05/0.3327, allocations: 125.8 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.3328, allocations: 3.984 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3328, allocations: 7.906 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3328, allocations: 0 / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3328, allocations: 4 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3328, allocations: 3.938 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3329, allocations: 165.6 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.333, allocations: 8 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.333, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.333, allocations: 3.938 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.333, allocations: 0 / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.333, allocations: 7.938 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.333, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.3331, allocations: 92.95 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3332, allocations: 81.05 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3332, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.3332, allocations: 8 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.3333, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3333, allocations: 3.984 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.3333, allocations: 87.28 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3333, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002192/0.3335, allocations: 16 kB / 1.171 GB, free: 1.941 MB / 0.92 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.0004211/0.334, allocations: 0.6357 MB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3342, allocations: 123.4 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3342, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.3343, allocations: 19.92 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3345, allocations: 8 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3359, allocations: 1.385 MB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3362, allocations: 0.6807 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.3362, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.3363, allocations: 15.44 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.3363, allocations: 0 / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.3573, allocations: 2.022 MB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/7.992, allocations: 15.38 kB / 1.176 GB, free: 13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches