Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001861/0.001861, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002002/0.002002, allocations: 215 kB / 20.13 MB, free: 2.949 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.14/3.14, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.To_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="cs",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.002001/0.002001, allocations: 59.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001683/1.018, allocations: 0.8264 MB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.533e-05/1.018, allocations: 45.12 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/1.019, allocations: 0 / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/1.019, allocations: 10.31 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/1.019, allocations: 10.75 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.894e-05/1.019, allocations: 21.44 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/1.019, allocations: 55.67 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/1.019, allocations: 30.89 kB / 1.322 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/1.019, allocations: 31.61 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/1.019, allocations: 39.48 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/1.019, allocations: 7.031 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/1.019, allocations: 4.562 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/1.019, allocations: 10.16 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/1.019, allocations: 39.23 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.981e-05/1.019, allocations: 71.11 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.019, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/1.019, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.838e-06/1.019, allocations: 3.938 kB / 1.323 GB, free: 23.98 MB / 1.061 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.000321/1.019, allocations: 387.5 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/1.019, allocations: 18.38 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.189e-05/1.019, allocations: 2.781 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.074e-05/1.02, allocations: 41.38 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/1.02, allocations: 7.797 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.02, allocations: 197.3 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/1.02, allocations: 7.156 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/1.02, allocations: 6.281 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.02, allocations: 108.5 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/1.02, allocations: 3.984 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.02, allocations: 2.906 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.02, allocations: 0 / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/1.02, allocations: 35.91 kB / 1.323 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/1.02, allocations: 437.8 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.562e-05/1.02, allocations: 40 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/1.02, allocations: 23.11 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/1.02, allocations: 10.88 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/1.02, allocations: 38.5 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.02, allocations: 0 / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/1.021, allocations: 55.95 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/1.021, allocations: 80.44 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.021, allocations: 161.8 kB / 1.324 GB, free: 22.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/1.021, allocations: 25.7 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/1.021, allocations: 100.5 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/1.021, allocations: 7.938 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/1.021, allocations: 25.75 kB / 1.324 GB, free: 22.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/1.021, allocations: 320 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/1.021, allocations: 2.469 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/1.021, allocations: 18.94 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/1.021, allocations: 33.09 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.021, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.547e-05/1.021, allocations: 56.97 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.021, allocations: 9.375 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.021, allocations: 0 / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.021, allocations: 3.234 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/1.021, allocations: 9.438 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.021, allocations: 2.781 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/1.021, allocations: 11.89 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/1.021, allocations: 2.844 kB / 1.325 GB, free: 21.84 MB / 1.061 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 4.443e-05/1.021, allocations: 120.4 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/1.021, allocations: 13.42 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/1.021, allocations: 13.64 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.021, allocations: 0 / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.021, allocations: 0 / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/1.021, allocations: 2.469 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/1.021, allocations: 471.3 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.021, allocations: 4.062 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/1.021, allocations: 2.5 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.021, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/1.021, allocations: 2.469 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.021, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.021, allocations: 7.359 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.695e-05/1.022, allocations: 82.84 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/1.022, allocations: 94.77 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/1.022, allocations: 2.906 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/1.022, allocations: 0 / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/1.022, allocations: 2.5 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/1.022, allocations: 0 / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.051e-05/1.022, allocations: 122 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001846/1.022, allocations: 8.031 kB / 1.326 GB, free: 20.92 MB / 1.061 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.0002526/1.022, allocations: 0.6198 MB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.451e-05/1.022, allocations: 13.84 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.022, allocations: 0 / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/1.022, allocations: 12.81 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/1.022, allocations: 9.797 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/1.023, allocations: 1.329 MB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/1.023, allocations: 0.6892 MB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.956e-05/1.023, allocations: 14.69 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/1.023, allocations: 21.8 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/1.023, allocations: 3.938 kB / 1.328 GB, free: 18.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/1.041, allocations: 1.64 MB / 1.33 GB, free: 17.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.626, allocations: 7.422 kB / 1.33 GB, free: 17.93 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.435983939038124]