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.001815/0.001815, allocations: 109.9 kB / 16.45 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.00217/0.00217, 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.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] 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.743/2.743, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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.002909/0.002909, allocations: 67.89 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8961/0.8991, allocations: 168.7 MB / 1.269 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001781/0.9008, allocations: 0.6069 MB / 1.269 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.9023, allocations: 1.112 MB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.9023, allocations: 3.938 kB / 1.27 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.9023, allocations: 0 / 1.27 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.9024, allocations: 7.938 kB / 1.27 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.9029, allocations: 139.2 kB / 1.271 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.903, allocations: 87.77 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.9031, allocations: 11.98 kB / 1.271 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.9032, allocations: 31.92 kB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.9033, allocations: 35.88 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.9033, allocations: 8 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/0.9034, allocations: 23.98 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.9034, allocations: 4 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.9034, allocations: 31.86 kB / 1.271 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.9036, allocations: 93.55 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9036, allocations: 0 / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9036, allocations: 0 / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.9036, allocations: 0 / 1.271 GB, free: 2.949 MB / 0.9669 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.0004991/0.9041, allocations: 385 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.9042, allocations: 8.031 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.9042, allocations: 30.75 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.9042, allocations: 4.938 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.9044, allocations: 172.3 kB / 1.271 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.9044, allocations: 4.375 kB / 1.271 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.9044, allocations: 8.375 kB / 1.271 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.9045, allocations: 42.19 kB / 1.271 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9045, allocations: 3.938 kB / 1.271 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.9045, allocations: 0 / 1.271 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.9045, allocations: 4 kB / 1.271 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.9046, allocations: 11.98 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.905, allocations: 284.9 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.9051, allocations: 38.44 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.9051, allocations: 8.922 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-06/0.9051, allocations: 0 / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.9053, allocations: 64.94 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.9053, allocations: 0 / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002064/0.9055, allocations: 73.58 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.9055, allocations: 51.41 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.9056, allocations: 109.8 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.9057, allocations: 33.7 kB / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.9057, allocations: 84.12 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.9057, allocations: 15.89 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.9058, allocations: 29.7 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.906, allocations: 310.8 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.906, allocations: 31.98 kB / 1.273 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.9061, allocations: 58.86 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.9062, allocations: 92.02 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9063, allocations: 0 / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002682/0.9065, allocations: 155.2 kB / 1.273 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.9066, allocations: 33.7 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9066, allocations: 0 / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.9066, allocations: 4.125 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.9066, allocations: 11.98 kB / 1.273 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.9067, allocations: 4.062 kB / 1.273 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.9068, allocations: 27.97 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.9069, allocations: 8 kB / 1.273 GB, free: 0.5117 MB / 0.9669 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.589e-05/0.907, allocations: 117.8 kB / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.907, allocations: 0 / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.907, allocations: 16.12 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.907, allocations: 0 / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.907, allocations: 7.922 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.907, allocations: 0 / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.9072, allocations: 173.5 kB / 1.273 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9072, allocations: 0 / 1.273 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.9072, allocations: 4 kB / 1.273 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9072, allocations: 0 / 1.273 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9072, allocations: 4 kB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9072, allocations: 0 / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9072, allocations: 0 / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.9073, allocations: 85.06 kB / 1.273 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.9074, allocations: 85.05 kB / 1.273 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.9074, allocations: 4 kB / 1.273 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.9074, allocations: 0 / 1.273 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.9074, allocations: 0 / 1.273 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.9074, allocations: 8 kB / 1.273 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.9075, allocations: 83.27 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9075, allocations: 7.938 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002089/0.9077, allocations: 20 kB / 1.274 GB, free: 15.8 MB / 0.9825 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.0004643/0.9081, allocations: 0.6207 MB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.9084, allocations: 115.3 kB / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9084, allocations: 0 / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.9084, allocations: 20.05 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.9086, allocations: 14 kB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.9101, allocations: 1.392 MB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.9104, allocations: 0.6768 MB / 1.276 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.9104, allocations: 8 kB / 1.276 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.9105, allocations: 15.44 kB / 1.276 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.9105, allocations: 0 / 1.276 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.9345, allocations: 2.043 MB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.825, allocations: 0 / 1.278 GB, free: 10.86 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.890673216897994]