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.001828/0.001828, allocations: 125 kB / 17.17 MB, free: 5.918 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.002327/0.002327, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.167/3.167, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 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.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_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.002005/0.002005, allocations: 71.91 kB / 1.165 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002574/1.095, allocations: 0.8376 MB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/1.095, allocations: 39.84 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/1.095, allocations: 2.469 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/1.095, allocations: 14.03 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/1.095, allocations: 9.766 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.654e-05/1.096, allocations: 15.98 kB / 1.341 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/1.096, allocations: 68.11 kB / 1.341 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/1.096, allocations: 34.39 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/1.096, allocations: 27.25 kB / 1.341 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/1.096, allocations: 26.25 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/1.096, allocations: 6 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/1.096, allocations: 7.688 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/1.096, allocations: 15.05 kB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/1.096, allocations: 40.31 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/1.096, allocations: 76.89 kB / 1.341 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.096, allocations: 1.984 kB / 1.341 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.522e-06/1.096, allocations: 0 / 1.341 GB, free: 15.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.262e-05/1.096, allocations: 0 / 1.341 GB, free: 15.5 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.000422/1.097, allocations: 379.7 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.097, allocations: 9.906 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.279e-05/1.097, allocations: 2.625 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/1.097, allocations: 43.02 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/1.097, allocations: 13.95 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/1.097, allocations: 200.1 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/1.097, allocations: 3.719 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/1.097, allocations: 9.469 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/1.097, allocations: 101.5 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.097, allocations: 0 / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/1.097, allocations: 1.156 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.097, allocations: 1.844 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/1.097, allocations: 48.67 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/1.098, allocations: 434 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/1.098, allocations: 45.34 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/1.098, allocations: 19.77 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.098, allocations: 0.7031 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/1.098, allocations: 40.69 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/1.098, allocations: 0 / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000162/1.098, allocations: 52.25 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.098, allocations: 78.52 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/1.098, allocations: 164.6 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/1.098, allocations: 29.64 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/1.098, allocations: 101.5 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/1.098, allocations: 3.953 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/1.098, allocations: 18.92 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/1.098, allocations: 319.1 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/1.098, allocations: 10 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/1.098, allocations: 22.48 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/1.098, allocations: 28.08 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.098, allocations: 0 / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.135e-05/1.098, allocations: 61.19 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.098, allocations: 9.625 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.098, allocations: 0.7969 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.098, allocations: 1.969 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/1.098, allocations: 9.516 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.098, allocations: 2.344 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/1.098, allocations: 9.109 kB / 1.343 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/1.098, allocations: 1.125 kB / 1.344 GB, free: 13.37 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.876e-05/1.099, allocations: 113.9 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/1.099, allocations: 13.97 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/1.099, allocations: 11.42 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/1.099, allocations: 1.438 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.099, allocations: 1.531 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.099, allocations: 8.594 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/1.099, allocations: 467.3 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.099, allocations: 0 / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/1.099, allocations: 7.453 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/1.099, allocations: 1.375 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/1.099, allocations: 4.703 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.099, allocations: 1.875 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.099, allocations: 64 / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/1.099, allocations: 80.95 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/1.099, allocations: 89.94 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.099, allocations: 5.891 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/1.099, allocations: 5.344 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/1.099, allocations: 2.047 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/1.099, allocations: 10.19 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.171e-05/1.099, allocations: 124.2 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.099, allocations: 0 / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001927/1.099, allocations: 6.625 kB / 1.344 GB, free: 12.45 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.0002441/1.1, allocations: 0.6146 MB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.565e-05/1.1, allocations: 20.44 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.1, allocations: 0 / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/1.1, allocations: 4.125 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/1.1, allocations: 8.172 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/1.101, allocations: 1.334 MB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/1.101, allocations: 0.693 MB / 1.347 GB, free: 9.898 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.291e-05/1.101, allocations: 6.906 kB / 1.347 GB, free: 9.898 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/1.101, allocations: 25.67 kB / 1.347 GB, free: 9.879 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.101, allocations: 0 / 1.347 GB, free: 9.879 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/1.119, allocations: 1.63 MB / 1.349 GB, free: 9.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.693, allocations: 11.22 kB / 1.349 GB, free: 9.484 MB / 1.061 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.692441338964272]