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.0007864/0.0007864, 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.0008632/0.0008632, allocations: 170.3 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.8499/0.8499, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.775/1.775, allocations: 389 MB / 0.633 GB, free: 12.69 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.903e-06/1.903e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.439e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001593/0.001617, allocations: 0.7817 MB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.001723, allocations: 43.78 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.001766, allocations: 0 / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.001807, allocations: 15.8 kB / 1 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.001882, allocations: 11.88 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.789e-05/0.00192, allocations: 15.98 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.002008, allocations: 59.84 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.002121, allocations: 35.97 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/0.002181, allocations: 39.84 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.002234, allocations: 23.89 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.002256, allocations: 4 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.002263, allocations: 11.94 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.00228, allocations: 7.938 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.002306, allocations: 23.92 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.709e-05/0.002403, allocations: 75.69 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.002406, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.002407, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.002412, allocations: 0 / 1.001 GB, free: 12.3 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.0003427/0.002755, allocations: 310 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.002796, allocations: 8.75 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.00283, allocations: 42.73 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.002852, allocations: 12.89 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.002998, allocations: 141.5 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.003008, allocations: 4.375 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.003018, allocations: 12.38 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.003135, allocations: 93.42 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003143, allocations: 192 / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.003152, allocations: 4.375 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.003159, allocations: 8.125 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.003216, allocations: 39.92 kB / 1.001 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.003602, allocations: 387.8 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.698e-05/0.003659, allocations: 45.28 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.003715, allocations: 13.78 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.003723, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.003748, allocations: 38.56 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.003749, allocations: 0 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.003899, allocations: 57.58 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.003935, allocations: 81.05 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.004042, allocations: 165.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004053, allocations: 29.7 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.004105, allocations: 104 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.004113, allocations: 7.891 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.00414, allocations: 21.66 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.004212, allocations: 322.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.004223, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.004242, allocations: 25.95 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.004272, allocations: 29.7 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004274, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.319e-05/0.004327, allocations: 57.59 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.004339, allocations: 8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.004343, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.004356, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.004414, allocations: 15.92 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.00442, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.004437, allocations: 8.016 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.004442, allocations: 4 kB / 1.003 GB, free: 10.02 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.476e-05/0.004497, allocations: 117.8 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.004517, allocations: 7.953 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.004536, allocations: 7.812 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.004538, allocations: 4 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.004543, allocations: 3.938 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.004548, allocations: 3.984 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.004859, allocations: 433.9 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.004861, allocations: 4.062 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.004879, allocations: 7.938 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.004881, allocations: 0 / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.004889, allocations: 7.938 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.00489, allocations: 0 / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004891, allocations: 0 / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.187e-05/0.004963, allocations: 74.72 kB / 1.003 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.004993, allocations: 19.84 kB / 1.003 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.00501, allocations: 8 kB / 1.003 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.791e-05/0.005028, allocations: 0 / 1.003 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.005041, allocations: 3.938 kB / 1.003 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005044, allocations: 8.016 kB / 1.003 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.803e-05/0.005122, allocations: 117.5 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.005122, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002134/0.005336, allocations: 15.94 kB / 1.004 GB, free: 9.105 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.0003269/0.005663, allocations: 0.6054 MB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.005748, allocations: 23.92 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00575, allocations: 0 / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-06/0.005759, allocations: 8.156 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.005918, allocations: 10.23 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.007209, allocations: 1.342 MB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.007266, allocations: 79.31 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.0073, allocations: 8.609 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.007352, allocations: 32.48 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of SimCode: time 6.42e-07/0.007353, allocations: 0 / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.02129, allocations: 2.23 MB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.359/6.38, allocations: 7.625 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 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.mat","/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: 10.41982920281589]