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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002002/0.002002, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8117, allocations: 160.7 MB / 1.213 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002821/0.8146, allocations: 0.6081 MB / 1.213 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002632/0.8172, allocations: 1.127 MB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.8172, allocations: 0 / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.8173, allocations: 0 / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.8174, allocations: 5.125 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.8181, allocations: 120 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.8184, allocations: 94.41 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.8185, allocations: 7.172 kB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.8186, allocations: 35.47 kB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.8187, allocations: 37.53 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.8188, allocations: 7.812 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.8189, allocations: 30.19 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.8189, allocations: 2.25 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.819, allocations: 29.38 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.8192, allocations: 89.77 kB / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8192, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8192, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8192, allocations: 0 / 1.215 GB, free: 2.254 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.000696/0.8199, allocations: 385 kB / 1.215 GB, free: 1.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.82, allocations: 14.12 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.82, allocations: 35.91 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.8201, allocations: 5.094 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.8203, allocations: 169.6 kB / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.8203, allocations: 3.375 kB / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.8203, allocations: 9 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.8205, allocations: 35.97 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.8205, allocations: 3.938 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.8205, allocations: 1.156 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.8205, allocations: 4 kB / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.8206, allocations: 17.52 kB / 1.216 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.8212, allocations: 295.5 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.8213, allocations: 29.17 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.8214, allocations: 12.14 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.8214, allocations: 0 / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.8216, allocations: 63.42 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.8216, allocations: 0 / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003068/0.8219, allocations: 71.89 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.822, allocations: 56.52 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.8221, allocations: 118.6 kB / 1.216 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.8222, allocations: 28.02 kB / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.8223, allocations: 86.36 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.8223, allocations: 10.02 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.8224, allocations: 33.64 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.8227, allocations: 320.4 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.8228, allocations: 27.58 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.823, allocations: 49.16 kB / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.8232, allocations: 90.2 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8232, allocations: 4 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000503/0.8237, allocations: 151 kB / 1.217 GB, free: 160 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.8238, allocations: 40.38 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.8238, allocations: 1.062 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8238, allocations: 1.125 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.8239, allocations: 7.25 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8239, allocations: 1.25 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.8242, allocations: 27.56 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.8242, allocations: 8.516 kB / 1.217 GB, free: 100 kB / 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 0.0001636/0.8244, allocations: 124.3 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.8244, allocations: 2.062 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.8245, allocations: 4.969 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8245, allocations: 0.9688 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8245, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.8245, allocations: 1.062 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.8247, allocations: 172.2 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8247, allocations: 4 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.8247, allocations: 6.219 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.8247, allocations: 1.094 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.8248, allocations: 1.062 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.8248, allocations: 0 / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.8248, allocations: 3.984 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.825, allocations: 91.11 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.8251, allocations: 77.11 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.8251, allocations: 4.938 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.641e-05/0.8251, allocations: 5.094 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.8251, allocations: 6.234 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.8252, allocations: 1.062 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.728e-05/0.8252, allocations: 84.75 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8252, allocations: 0 / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003952/0.8256, allocations: 14.84 kB / 1.218 GB, free: 15.47 MB / 0.9356 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.0008341/0.8265, allocations: 0.6334 MB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.8269, allocations: 119.7 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8269, allocations: 0 / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.827, allocations: 16.39 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.8274, allocations: 7.953 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.8301, allocations: 1.397 MB / 1.22 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.8306, allocations: 0.6788 MB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.8306, allocations: 2.5 kB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.8307, allocations: 17.77 kB / 1.221 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of SimCode: time 1.142e-06/0.8307, allocations: 0 / 1.221 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.8577, allocations: 2.032 MB / 1.223 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/9, allocations: 9.391 kB / 1.223 GB, free: 11.62 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0016 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.793852836824954]