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.00172/0.00172, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002078/0.002078, allocations: 221.6 kB / 22.25 MB, free: 5.105 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.797 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.178/3.178, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.002085/0.002085, allocations: 63.72 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001828/0.3503, allocations: 0.6054 MB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3518, allocations: 1.14 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.3519, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.3519, allocations: 3.938 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.352, allocations: 7.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.3525, allocations: 121.4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.3527, allocations: 91.88 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.3527, allocations: 7.984 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.3528, allocations: 39.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.3529, allocations: 31.89 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3529, allocations: 11.98 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.353, allocations: 20 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.353, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.3531, allocations: 35.91 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3532, allocations: 87.95 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3532, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3532, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.3532, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 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.0004811/0.3537, allocations: 304 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3538, allocations: 19.97 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.3538, allocations: 30.75 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3539, allocations: 8.891 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.354, allocations: 106.5 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.354, allocations: 4.375 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.354, allocations: 4.375 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.3541, allocations: 42.25 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3541, allocations: 3.938 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3541, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3541, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.3542, allocations: 19.91 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3546, allocations: 248 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.3547, allocations: 34.5 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.3547, allocations: 12.92 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3547, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3548, allocations: 71.22 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3548, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.355, allocations: 65.69 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3551, allocations: 51.41 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3552, allocations: 109.8 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.3553, allocations: 33.7 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.3553, allocations: 88.12 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.3553, allocations: 11.91 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.3554, allocations: 29.7 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3556, allocations: 318.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3557, allocations: 61.61 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3558, allocations: 80.27 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.356, allocations: 88.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.356, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000284/0.3562, allocations: 185 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.3563, allocations: 33.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3563, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3563, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.3564, allocations: 11.92 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3564, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3566, allocations: 31.92 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.3566, allocations: 4 kB / 1.33 GB, free: 12.97 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.0001139/0.3568, allocations: 126.4 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.3568, allocations: 64 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.3568, allocations: 11.98 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3568, allocations: 4 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3568, allocations: 0 / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3568, allocations: 3.938 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3569, allocations: 136.6 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3569, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.357, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.357, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.357, allocations: 8 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.357, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.357, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.3571, allocations: 96.88 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.3571, allocations: 4 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3571, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.3572, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.3572, allocations: 11.98 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3572, allocations: 0 / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.3572, allocations: 83.67 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3572, allocations: 0 / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002087/0.3575, allocations: 16 kB / 1.33 GB, free: 12.39 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.0004738/0.3579, allocations: 0.6322 MB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3582, allocations: 149 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3582, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.3582, allocations: 15.94 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.3584, allocations: 10.56 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.36, allocations: 1.518 MB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.3601, allocations: 67.47 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.3601, allocations: 7.906 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3602, allocations: 11.44 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3602, allocations: 0 / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3926, allocations: 2.659 MB / 1.335 GB, free: 7.289 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 10.84 kB / 1.335 GB, free: 7.285 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.28635643099551]