Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.0009/0.0009, 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.001354/0.001354, allocations: 169.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.9009/0.9009, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.649/1.649, 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.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.065e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001643/0.001663, allocations: 0.7868 MB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.001788, allocations: 39.78 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.00184, allocations: 0 / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.001883, allocations: 15.86 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.001977, allocations: 7.875 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.067e-05/0.002028, allocations: 19.98 kB / 0.9514 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.002128, allocations: 55.84 kB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.002263, allocations: 35.95 kB / 0.9514 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.002335, allocations: 35.86 kB / 0.9515 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.002394, allocations: 27.89 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.002418, allocations: 8 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.002425, allocations: 4 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.002443, allocations: 11.94 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.002469, allocations: 19.91 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.002573, allocations: 79.69 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002576, allocations: 0 / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.002577, allocations: 0 / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002581, 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.0003691/0.00295, allocations: 302 kB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.002994, allocations: 16.03 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.003029, allocations: 38.73 kB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.003055, allocations: 12.84 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.003216, allocations: 133.6 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.003227, allocations: 12.31 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.003244, allocations: 4.375 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.003382, allocations: 94.14 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.003392, allocations: 4.172 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.003404, allocations: 8.312 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.00341, allocations: 4.125 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.003471, allocations: 39.92 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.003902, allocations: 399.8 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.003955, allocations: 37.19 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.003986, allocations: 17.84 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.003994, allocations: 4 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.004013, allocations: 34.55 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.004014, allocations: 0 / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.004167, allocations: 49.81 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.004218, allocations: 89.08 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.004329, allocations: 160.8 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.004339, allocations: 25.7 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.004393, allocations: 104.1 kB / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.0044, allocations: 3.953 kB / 0.9531 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.004426, allocations: 21.67 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.00451, allocations: 318.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.004524, allocations: 8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.004543, allocations: 25.64 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.004573, allocations: 25.72 kB / 0.9535 GB, free: 172 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.004576, allocations: 4 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.108e-05/0.004637, allocations: 61.59 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004649, allocations: 4 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.004654, allocations: 0 / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.004667, allocations: 4 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.004717, allocations: 11.92 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.004722, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.00474, allocations: 7.938 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-06/0.004743, allocations: 64 / 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 6.469e-05/0.004807, allocations: 117.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.004831, allocations: 11.89 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.00485, allocations: 11.8 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.004852, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.004858, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00486, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.005138, allocations: 445.8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005139, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.00515, allocations: 3.938 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.005152, allocations: 8.062 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005158, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.005159, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00516, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.904e-05/0.005219, allocations: 77.94 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.00524, allocations: 11.89 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.00525, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.00526, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.005272, allocations: 3.984 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.005275, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.005333, 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.005333, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001238/0.005456, allocations: 4 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.0002424/0.005699, allocations: 0.6171 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.005774, allocations: 19.94 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.005776, allocations: 0 / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.005782, allocations: 4 kB / 0.955 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.0001232/0.005905, allocations: 10 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.0009047/0.00681, allocations: 1.344 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.006859, allocations: 79.31 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.006886, allocations: 4.5 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.006929, allocations: 24.48 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.00693, allocations: 4 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02289, allocations: 2.245 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.655, allocations: 4 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_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_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_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.71121369022876]