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.001722/0.001722, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.002309/0.002309, allocations: 222.2 kB / 22.25 MB, free: 5.105 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.797 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.268/3.268, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.002022/0.002022, allocations: 67.3 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3785, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002137/0.3806, allocations: 0.8055 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.3807, allocations: 35.8 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.3808, allocations: 0 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.3808, allocations: 11.86 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.3809, allocations: 11.92 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.956e-05/0.381, allocations: 23.98 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3811, allocations: 59.78 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3813, allocations: 39.97 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.3813, allocations: 19.88 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.3814, allocations: 31.78 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3814, allocations: 8 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.3814, allocations: 4 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.3814, allocations: 15.94 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.3815, allocations: 31.84 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.3816, allocations: 75.81 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3816, allocations: 0 / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3816, allocations: 4 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3817, allocations: 0 / 1.327 GB, free: 284 kB / 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.0005042/0.3822, allocations: 310.1 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3822, allocations: 8.031 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.3822, allocations: 38.75 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.3823, allocations: 8.891 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3825, allocations: 138.2 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3825, allocations: 12.28 kB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3825, allocations: 4.375 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.3827, allocations: 102.1 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3827, allocations: 3.938 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3827, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.3827, allocations: 4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.292e-05/0.3828, allocations: 35.92 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3834, allocations: 387.8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.984e-05/0.3835, allocations: 37.28 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.3835, allocations: 21.84 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.3835, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3835, allocations: 34.56 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3835, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.3838, allocations: 69.45 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3838, allocations: 77.11 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.384, allocations: 161.2 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.384, allocations: 29.64 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3841, allocations: 104 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.3841, allocations: 11.94 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.3842, allocations: 17.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3844, allocations: 319.1 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.3844, allocations: 8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.3844, allocations: 17.72 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.3844, allocations: 25.72 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3845, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.203e-05/0.3845, allocations: 61.58 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3846, allocations: 7.938 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3846, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3846, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.3846, allocations: 8.062 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3847, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.3847, allocations: 7.953 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3847, allocations: 4 kB / 1.329 GB, free: 14.01 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.000115/0.3848, allocations: 131.9 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3849, allocations: 11.89 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.3849, allocations: 11.81 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3849, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3849, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3849, allocations: 96 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.3854, allocations: 437.9 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3854, allocations: 3.984 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.3854, allocations: 7.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3854, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3855, allocations: 81.84 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.3855, allocations: 11.94 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3855, allocations: 4.094 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.3856, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.3856, allocations: 7.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.3856, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001052/0.3857, allocations: 121.1 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3857, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001922/0.3859, allocations: 12 kB / 1.33 GB, free: 13.08 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.0005087/0.3864, allocations: 0.6116 MB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.3865, allocations: 23.97 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3865, allocations: 0 / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.3865, allocations: 11.98 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.3867, allocations: 9.031 kB / 1.33 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3882, allocations: 1.331 MB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.3882, allocations: 83.38 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3883, allocations: 12.42 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3883, allocations: 23.44 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3883, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.4187, allocations: 2.132 MB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.59, allocations: 5.875 kB / 1.334 GB, free: 8.84 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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: 18.530096106987912]