Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001695/0.001695, allocations: 106.4 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001748/0.001748, allocations: 219 kB / 22.25 MB, free: 5.133 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.381/3.381, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 65.58 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002971/0.3978, allocations: 0.8243 MB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.3979, allocations: 39.78 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.398, allocations: 4 kB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.325e-05/0.3981, allocations: 11.88 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.3982, allocations: 7.875 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.072e-05/0.3982, allocations: 23.97 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3984, allocations: 59.84 kB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3985, allocations: 31.97 kB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.3986, allocations: 35.8 kB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.3987, allocations: 23.86 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3987, allocations: 7.938 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.3987, allocations: 8 kB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.3988, allocations: 7.984 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.3988, allocations: 39.75 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.399, allocations: 91.72 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.399, allocations: 0 / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.399, allocations: 0 / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.399, allocations: 0 / 1.354 GB, free: 7.246 MB / 1.045 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.0005215/0.3995, allocations: 303.7 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.3996, allocations: 8.031 kB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.3996, allocations: 42.73 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.3997, allocations: 8.891 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3999, allocations: 142.4 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3999, allocations: 4.375 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3999, allocations: 16.31 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4001, allocations: 89.73 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4001, allocations: 3.938 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4002, allocations: 4 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.4002, allocations: 4 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.4003, allocations: 35.92 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.4009, allocations: 407.8 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.117e-05/0.401, allocations: 37.19 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.4011, allocations: 21.84 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4011, allocations: 7.984 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.4011, allocations: 34.55 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.4011, allocations: 0 / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002204/0.4013, allocations: 57.53 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4014, allocations: 81.05 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.4016, allocations: 159.3 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4016, allocations: 25.95 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.4017, allocations: 112 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.4017, allocations: 3.953 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.4018, allocations: 13.72 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4019, allocations: 322.8 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.4019, allocations: 8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.402, allocations: 21.66 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.402, allocations: 29.7 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.402, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.782e-05/0.4021, allocations: 53.59 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4021, allocations: 11.94 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4021, allocations: 0 / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4022, allocations: 0 / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.4022, allocations: 11.98 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4022, allocations: 4 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.4023, allocations: 11.95 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4023, allocations: 4 kB / 1.356 GB, free: 4.957 MB / 1.045 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 0.0001041/0.4024, allocations: 113.8 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.4024, allocations: 15.89 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.4025, allocations: 7.797 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4025, allocations: 0 / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4025, allocations: 4 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4025, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.4029, allocations: 453.7 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4029, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.4029, allocations: 4 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4029, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.403, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.403, allocations: 3.938 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.403, allocations: 4 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.4031, allocations: 85.94 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.4031, allocations: 11.95 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4031, allocations: 0 / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.4031, allocations: 3.938 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.4032, allocations: 3.984 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4032, allocations: 4 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001343/0.4033, allocations: 114.3 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4033, allocations: 8.031 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001981/0.4035, allocations: 11.98 kB / 1.357 GB, free: 4.035 MB / 1.045 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.0004391/0.4039, allocations: 0.6054 MB / 1.357 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.4041, allocations: 27.95 kB / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4041, allocations: 0 / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.4041, allocations: 8 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4042, allocations: 4 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4056, allocations: 1.328 MB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4059, allocations: 0.6963 MB / 1.359 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.406, allocations: 8.422 kB / 1.359 GB, free: 1.203 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.406, allocations: 27.42 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.406, allocations: 0 / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.4377, allocations: 1.694 MB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 5.594 kB / 1.361 GB, free: 15.61 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 18.68190254503861]