Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001116/0.001116, 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.0009111/0.0009111, allocations: 165.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.9098/0.9098, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.799/1.799, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.329e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001355/0.001378, allocations: 0.7868 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.74e-05/0.001476, allocations: 43.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.001519, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.001555, allocations: 11.86 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.001636, allocations: 15.81 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.001682, allocations: 19.98 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.001776, allocations: 59.84 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.001903, allocations: 31.95 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.001975, allocations: 35.91 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.002032, allocations: 15.92 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.002055, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.002062, allocations: 11.94 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.00208, allocations: 15.97 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.002107, allocations: 15.94 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.002217, allocations: 79.69 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.00222, allocations: 3.938 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.002221, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.002225, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 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.0004125/0.002638, allocations: 306 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.002686, allocations: 8.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.002725, allocations: 42.73 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.00275, allocations: 8.891 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.002928, allocations: 129.7 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.00294, allocations: 8.375 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.002952, allocations: 12.38 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.003089, allocations: 97.36 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003098, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.003107, allocations: 384 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.003114, allocations: 8.125 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.003184, allocations: 43.91 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.00364, allocations: 391.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.003695, allocations: 37.22 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.003728, allocations: 29.8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.003736, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.003761, allocations: 34.56 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.003762, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.003925, allocations: 53.53 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.003964, allocations: 81.05 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.004077, allocations: 160.8 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.004086, allocations: 25.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.004138, allocations: 108 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.004146, allocations: 8.203 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.004171, allocations: 21.66 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.004249, allocations: 318.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.004263, allocations: 8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.004283, allocations: 21.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.004319, allocations: 29.66 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.00432, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.213e-05/0.004383, allocations: 53.59 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.004398, allocations: 8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.00441, allocations: 8.141 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.004423, allocations: 3.984 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.00448, allocations: 7.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.004485, allocations: 4 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.004505, allocations: 11.89 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.004511, allocations: 4 kB / 1.003 GB, free: 10.06 MB / 0.9636 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 5.65e-05/0.004567, allocations: 109.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.00459, allocations: 11.95 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.004608, allocations: 7.797 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.004611, allocations: 4 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.004616, allocations: 7.938 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.004619, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.004886, allocations: 433.9 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.004887, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.0049, allocations: 7.938 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.004902, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004907, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004908, allocations: 4 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004909, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.038e-05/0.004969, allocations: 82.72 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.00499, allocations: 15.84 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.005001, allocations: 7.938 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.005012, allocations: 7.984 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.005024, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.005025, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.229e-05/0.005088, allocations: 125.5 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005088, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000127/0.005215, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 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.0002584/0.005473, allocations: 0.6132 MB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.005546, allocations: 16 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005548, allocations: 0 / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.005556, allocations: 11.94 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.00568, allocations: 6.234 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.006692, allocations: 1.347 MB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.808e-05/0.00675, allocations: 83.56 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.006785, allocations: 8.484 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.006838, allocations: 28.48 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of SimCode: time 1.022e-06/0.006839, allocations: 0 / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02287, allocations: 2.235 MB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.916, allocations: 4.062 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.137329651974142]