Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00186/0.00186, allocations: 102.9 kB / 16.45 MB, free: 6.5 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.002271/0.002271, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.49 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_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.00208/0.00208, allocations: 75.67 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.394, allocations: 176.1 MB / 1.321 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002519/0.3965, allocations: 0.8325 MB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.3966, allocations: 39.78 kB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.3967, allocations: 4 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.3967, allocations: 11.86 kB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.3968, allocations: 7.938 kB / 1.322 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.095e-05/0.3969, allocations: 15.98 kB / 1.322 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.397, allocations: 67.78 kB / 1.322 GB, free: 2.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3971, allocations: 27.97 kB / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.3972, allocations: 31.86 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.3973, allocations: 31.84 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3973, allocations: 4 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.3973, allocations: 11.94 kB / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.3973, allocations: 8 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.3974, allocations: 39.67 kB / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3975, allocations: 75.86 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3975, allocations: 0 / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3975, allocations: 4 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3975, allocations: 3.938 kB / 1.322 GB, free: 2.246 MB / 1.014 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.000478/0.398, allocations: 387.1 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.398, allocations: 15.98 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.3981, allocations: 34.75 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.3981, allocations: 12.89 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3984, allocations: 196.2 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3984, allocations: 4.375 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3984, allocations: 8.375 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3986, allocations: 95.86 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3986, allocations: 3.938 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3986, allocations: 4 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3986, allocations: 0 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.3987, allocations: 39.92 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.3993, allocations: 440.6 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.3993, allocations: 41.28 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.3994, allocations: 21.84 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3994, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3994, allocations: 30.56 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3994, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.3997, allocations: 73.47 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.3997, allocations: 81.05 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3999, allocations: 160.2 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3999, allocations: 25.7 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.4, allocations: 104.1 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.4, allocations: 7.891 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.4, allocations: 17.72 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4002, allocations: 327.1 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.4003, allocations: 0 / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.4003, allocations: 21.72 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.4003, allocations: 21.72 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4003, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.4004, allocations: 65.58 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4005, allocations: 18.34 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4005, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4005, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.4006, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4006, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.4006, allocations: 3.953 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4006, allocations: 4 kB / 1.324 GB, free: 15.75 MB / 1.029 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.0001007/0.4007, allocations: 117.8 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.4007, allocations: 15.83 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.4008, allocations: 15.88 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4008, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4008, allocations: 4 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4008, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.4013, allocations: 466.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4013, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.4013, allocations: 7.984 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4013, allocations: 64 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.4013, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4013, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4013, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.4014, allocations: 81.84 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.4015, allocations: 89.05 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4015, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.4015, allocations: 7.969 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.4016, allocations: 3.938 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4016, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001106/0.4017, allocations: 124.7 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002056/0.4019, allocations: 11.94 kB / 1.325 GB, free: 14.7 MB / 1.029 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.0005064/0.4024, allocations: 0.6171 MB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.4025, allocations: 19.92 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4025, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.4025, allocations: 4 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.4027, allocations: 8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4042, allocations: 1.331 MB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4046, allocations: 0.6885 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.4046, allocations: 8.422 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4047, allocations: 27.44 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4047, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.4294, allocations: 1.601 MB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.638, allocations: 15.69 kB / 1.329 GB, free: 10.34 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.411664718063548]