Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0007605/0.0007605, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008087/0.0008087, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9124/0.9124, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.684/1.684, allocations: 359 MB / 0.6037 GB, free: 11.09 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.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.222e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001486/0.001508, allocations: 0.7869 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001047/0.001613, allocations: 43.72 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.001663, allocations: 0 / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.001699, allocations: 11.86 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.001772, allocations: 7.938 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-05/0.001814, allocations: 23.97 kB / 0.9514 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.001906, allocations: 63.78 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.002025, allocations: 31.97 kB / 0.9515 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.002107, allocations: 35.91 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.002149, allocations: 23.84 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.002171, allocations: 8 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.002178, allocations: 4 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.002195, allocations: 19.91 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.002223, allocations: 19.94 kB / 0.9516 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.505e-05/0.002318, allocations: 67.75 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00232, allocations: 11.94 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002321, allocations: 3.938 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002325, allocations: 0 / 0.9516 GB, free: 2.328 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.0003282/0.002653, allocations: 302 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.00269, allocations: 8.031 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.002724, allocations: 42.73 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.002746, allocations: 12.84 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.002903, allocations: 133.5 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.002913, allocations: 8.375 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.002923, allocations: 8.359 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.00304, allocations: 95.95 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.003047, allocations: 192 / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.003058, allocations: 4.375 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.003064, allocations: 8.125 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.003122, allocations: 39.91 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.003492, allocations: 391.7 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.003538, allocations: 37.28 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.003565, allocations: 21.84 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.003574, allocations: 7.984 kB / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.003591, allocations: 30.56 kB / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003592, allocations: 0 / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.003734, allocations: 53.59 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.003775, allocations: 88.98 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.003887, allocations: 156.8 kB / 0.953 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.003896, allocations: 25.7 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.003952, allocations: 104.1 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.00396, allocations: 7.953 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.003986, allocations: 17.67 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.004066, allocations: 323.1 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.004081, allocations: 8 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.004101, allocations: 21.7 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.004135, allocations: 29.72 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.004137, allocations: 3.938 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.32e-05/0.00419, allocations: 53.59 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004202, allocations: 6.812 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.004207, allocations: 4 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.004219, allocations: 8.047 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.00427, allocations: 11.94 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.004275, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.004292, allocations: 7.938 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004296, allocations: 0 / 0.9536 GB, free: 60 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.023e-05/0.004366, allocations: 121.7 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.004388, allocations: 7.953 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.004408, allocations: 11.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.00441, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.004417, allocations: 7.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.00442, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.004672, allocations: 437.9 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004673, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.004683, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004685, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.00469, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.004691, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.004693, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.082e-05/0.004744, allocations: 73.94 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.004764, allocations: 11.98 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.004774, allocations: 7.938 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.004785, allocations: 3.984 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.004798, allocations: 8 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.0048, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.004857, allocations: 122.3 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004857, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001298/0.004987, allocations: 8 kB / 0.9544 GB, free: 15.15 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.0002383/0.005225, allocations: 0.6054 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.005301, allocations: 23.97 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005302, allocations: 0 / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-06/0.00531, allocations: 8 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.00543, 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.0008504/0.00628, 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.447e-05/0.006325, allocations: 83.56 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.00635, allocations: 4.5 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.006391, allocations: 28.48 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.006391, allocations: 0 / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.02111, allocations: 2.237 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/6.609, allocations: 12.84 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.788125794380903]