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.001376/0.001376, allocations: 114.5 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.001434/0.001434, allocations: 210.2 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.512/1.512, 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.059/3.059, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002012/0.002012, allocations: 65.94 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001766/1.099, allocations: 0.8304 MB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.633e-05/1.1, allocations: 44.36 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/1.1, allocations: 4 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/1.1, allocations: 11.25 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/1.1, allocations: 11.25 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.065e-05/1.1, allocations: 17.69 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.47e-05/1.1, allocations: 61.42 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.1, allocations: 27.61 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/1.1, allocations: 33.52 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/1.1, allocations: 25.66 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/1.1, allocations: 11.16 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/1.1, allocations: 7.375 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/1.1, allocations: 15.38 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/1.1, allocations: 39.06 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.357e-05/1.1, allocations: 69.89 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.1, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.1, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.788e-06/1.1, allocations: 2.594 kB / 1.323 GB, free: 24 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.0003408/1.101, allocations: 383.8 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.101, allocations: 12.14 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/1.101, allocations: 2.781 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.259e-05/1.101, allocations: 48.81 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/1.101, allocations: 10.05 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.101, allocations: 193.8 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/1.101, allocations: 3.188 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/1.101, allocations: 9.875 kB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/1.101, allocations: 102.2 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.101, allocations: 3.328 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/1.101, allocations: 2.719 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/1.101, allocations: 4 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/1.101, allocations: 40.69 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/1.101, allocations: 428.1 kB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/1.102, allocations: 46.59 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/1.102, allocations: 22.33 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/1.102, allocations: 3.984 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/1.102, allocations: 38.5 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/1.102, allocations: 2.594 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/1.102, allocations: 56.58 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.102, allocations: 87.52 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.102, allocations: 159.9 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/1.102, allocations: 25.7 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/1.102, allocations: 102 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/1.102, allocations: 6.672 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.102, allocations: 19.78 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/1.102, allocations: 317.5 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/1.102, allocations: 6.109 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/1.102, allocations: 23.41 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/1.102, allocations: 26.34 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.102, allocations: 0 / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.824e-05/1.102, allocations: 61.97 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.102, allocations: 11.91 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.102, allocations: 0 / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.102, allocations: 7.094 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/1.102, allocations: 2.938 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/1.102, allocations: 6.781 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/1.102, allocations: 7.891 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/1.102, allocations: 2.781 kB / 1.325 GB, free: 21.86 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.601e-05/1.102, allocations: 112.8 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/1.102, allocations: 13.42 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/1.102, allocations: 11.34 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.102, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.102, allocations: 4 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.102, allocations: 3.375 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/1.103, allocations: 465.5 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.103, allocations: 0 / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/1.103, allocations: 6.234 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.103, allocations: 7.938 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/1.103, allocations: 6.812 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.103, allocations: 64 / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.103, allocations: 4 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.648e-05/1.103, allocations: 86.36 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/1.103, allocations: 83.59 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.103, allocations: 6.562 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/1.103, allocations: 0 / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/1.103, allocations: 11.55 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/1.103, allocations: 2.594 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.997e-05/1.103, allocations: 120.6 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.103, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000189/1.103, allocations: 5.406 kB / 1.326 GB, free: 20.93 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.0002143/1.103, allocations: 0.6205 MB / 1.326 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/1.103, allocations: 16.03 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.103, allocations: 2.875 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/1.103, allocations: 6.719 kB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/1.104, allocations: 6.781 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/1.104, allocations: 1.341 MB / 1.328 GB, free: 19.08 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/1.104, allocations: 0.6886 MB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.929e-05/1.104, allocations: 9.641 kB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/1.105, allocations: 24.95 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/1.105, allocations: 4 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/1.121, allocations: 1.619 MB / 1.33 GB, free: 17.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.806, allocations: 19.69 kB / 1.33 GB, free: 17.96 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.510522943979595]