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.001402/0.001402, allocations: 109.7 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.001388/0.001388, 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.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] 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.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.26 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.001948/0.001948, allocations: 63.91 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8194, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001576/0.821, allocations: 0.6248 MB / 1.272 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.8221, allocations: 1.118 MB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.8222, allocations: 0.7812 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.8222, allocations: 3.938 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.8223, allocations: 6.781 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.8227, allocations: 127.3 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.8229, allocations: 92.11 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.8229, allocations: 3.672 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.823, allocations: 34.89 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.8231, allocations: 38.55 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.8231, allocations: 8.062 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.8232, allocations: 18.31 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.8232, allocations: 6.5 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.8233, allocations: 31.84 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.8234, allocations: 88.31 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8234, allocations: 4.781 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8234, allocations: 0.6094 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8234, allocations: 4.688 kB / 1.274 GB, free: 6.324 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.0003509/0.8238, allocations: 382.7 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8238, allocations: 9.562 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.8238, allocations: 31.62 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.8239, allocations: 5.188 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.916e-05/0.8239, allocations: 168.2 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.824, allocations: 3.188 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.824, allocations: 5 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.09e-05/0.8241, allocations: 43.66 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8241, allocations: 3.938 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.8241, allocations: 0.9375 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.8241, allocations: 0 / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.699e-05/0.8241, allocations: 15.81 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.8244, allocations: 285.9 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/0.8245, allocations: 38.11 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.8245, allocations: 12.2 kB / 1.274 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.8245, allocations: 4.625 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.8246, allocations: 63.78 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8246, allocations: 0 / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.8248, allocations: 68.77 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.8248, allocations: 53.62 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.8248, allocations: 117.7 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.8249, allocations: 28.33 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.8249, allocations: 83.72 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.8249, allocations: 16.3 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.8249, allocations: 28.45 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.825, allocations: 313.9 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.8251, allocations: 32.03 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.8251, allocations: 58.08 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.8252, allocations: 88.28 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8252, allocations: 0 / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002277/0.8254, allocations: 154.8 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.8255, allocations: 38.05 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8255, allocations: 5.062 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8255, allocations: 0.75 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.8255, allocations: 16.78 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8255, allocations: 1.125 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.8257, allocations: 23.66 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.8257, allocations: 7.672 kB / 1.276 GB, free: 4.289 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.237e-05/0.8258, allocations: 118.4 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.8258, allocations: 6.078 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.8258, allocations: 4.656 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8258, allocations: 6.844 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.8258, allocations: 0.8125 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8258, allocations: 0 / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.635e-05/0.8259, allocations: 166.5 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8259, allocations: 2.016 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.8259, allocations: 2.844 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.8259, allocations: 0 / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.8259, allocations: 0.9375 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8259, allocations: 0.9062 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8259, allocations: 0 / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.065e-05/0.826, allocations: 91.83 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.826, allocations: 83.64 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.826, allocations: 1.922 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.826, allocations: 4 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.8261, allocations: 4.188 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8261, allocations: 1.719 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.8261, allocations: 86.27 kB / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8261, allocations: 0 / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002/0.8263, allocations: 23.17 kB / 1.276 GB, free: 3.68 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.0002532/0.8266, allocations: 0.6296 MB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.8267, allocations: 108.8 kB / 1.277 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8267, allocations: 0 / 1.277 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.8268, allocations: 21.91 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.827, allocations: 13.08 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.8281, allocations: 1.4 MB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8284, allocations: 0.68 MB / 1.279 GB, free: 17.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.8284, allocations: 2.375 kB / 1.279 GB, free: 17.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.8284, allocations: 19.56 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.8284, allocations: 0 / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.8531, allocations: 1.989 MB / 1.281 GB, free: 16.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.764, allocations: 23.83 kB / 1.281 GB, free: 16.58 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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] "Error: Could not read variable booToRea.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv. Warning: Get data of variable booToRea.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.134769470998435]