Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001127/0.001127, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009468/0.0009468, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9038/0.9038, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.995e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001359/0.001379, allocations: 0.7907 MB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.566e-05/0.001474, allocations: 43.78 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.001522, allocations: 0 / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.001556, allocations: 11.92 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.001625, allocations: 11.86 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.461e-05/0.001659, allocations: 15.98 kB / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.00175, allocations: 67.78 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.001854, allocations: 31.95 kB / 0.9515 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.001914, allocations: 35.91 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.001959, allocations: 15.92 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.001982, allocations: 8 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.001988, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.002006, allocations: 23.91 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.002029, allocations: 15.94 kB / 0.9516 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.931e-05/0.002119, allocations: 71.69 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002121, allocations: 7.938 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002122, allocations: 0 / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.002125, allocations: 3.938 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000322/0.002447, allocations: 306 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.002485, allocations: 8.031 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.002517, allocations: 46.73 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.002536, allocations: 12.84 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.002668, allocations: 129.6 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.002678, allocations: 8.375 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.002686, allocations: 4.375 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.002796, allocations: 98.55 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.002802, allocations: 192 / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.002809, allocations: 384 / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.002817, allocations: 16.11 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.002871, allocations: 39.92 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.003226, allocations: 387.8 kB / 0.9526 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.003272, allocations: 37.16 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.003302, allocations: 29.86 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-06/0.003308, allocations: 0 / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003328, allocations: 30.56 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003329, allocations: 4 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.003457, allocations: 57.58 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.003494, allocations: 81.05 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.003595, allocations: 160.8 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.003603, allocations: 25.7 kB / 0.953 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.003655, allocations: 104 kB / 0.9531 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.003664, allocations: 11.95 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.003689, allocations: 17.67 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.003761, allocations: 318.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.003774, allocations: 8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.00379, allocations: 17.95 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.003823, allocations: 41.66 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003824, allocations: 0 / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.837e-05/0.003872, allocations: 53.59 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.003886, allocations: 7.984 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.003891, allocations: 4 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.003901, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.003949, allocations: 7.938 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.003954, allocations: 0 / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.00397, allocations: 12 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.003974, allocations: 0 / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.242e-05/0.004047, allocations: 113.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.004068, allocations: 11.89 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.004086, allocations: 15.8 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.004087, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.004093, allocations: 7.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.004096, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.004369, allocations: 433.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.00437, allocations: 4.062 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.00438, allocations: 7.938 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004382, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.004389, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.00439, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.004392, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.412e-05/0.004446, allocations: 77.88 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.004464, allocations: 11.89 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.004475, allocations: 3.984 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.004484, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.004498, allocations: 4.031 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.004499, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.004561, allocations: 126.3 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004561, allocations: 3.938 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000118/0.004679, allocations: 8 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002047/0.004884, allocations: 0.6093 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.11e-05/0.004945, allocations: 16 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.004947, allocations: 0 / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/0.004954, allocations: 12.09 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.005062, allocations: 8 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.005876, allocations: 1.337 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.005921, allocations: 79.31 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.005943, allocations: 8.625 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/0.005983, allocations: 28.48 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.005983, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.02, allocations: 2.243 MB / 0.9587 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.654, allocations: 6.469 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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: 10.788259581662714]