Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00172/0.00172, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002316/0.002316, allocations: 214.9 kB / 23.02 MB, free: 4.953 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.908/2.908, allocations: 476.8 MB / 0.7715 GB, free: 3.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_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.002106/0.002106, allocations: 59.59 kB / 1.118 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 169.9 MB / 1.284 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002226/0.3785, allocations: 0.7929 MB / 1.285 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.3786, allocations: 43.8 kB / 1.285 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.3787, allocations: 4 kB / 1.285 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.3787, allocations: 7.875 kB / 1.285 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3788, allocations: 11.86 kB / 1.285 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.152e-05/0.3789, allocations: 19.98 kB / 1.285 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.379, allocations: 59.83 kB / 1.285 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3792, allocations: 27.98 kB / 1.285 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.3792, allocations: 31.8 kB / 1.285 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.3793, allocations: 27.8 kB / 1.285 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3793, allocations: 12 kB / 1.285 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.3793, allocations: 4 kB / 1.285 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.3793, allocations: 15.98 kB / 1.285 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.3794, allocations: 27.81 kB / 1.285 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3795, allocations: 71.86 kB / 1.285 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.3795, allocations: 11.92 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3795, allocations: 0 / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.3795, allocations: 0 / 1.285 GB, free: 2.191 MB / 0.9825 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.0004655/0.38, allocations: 306 kB / 1.286 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.38, allocations: 8.031 kB / 1.286 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.3801, allocations: 8.188 kB / 1.286 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.3801, allocations: 46.67 kB / 1.286 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3801, allocations: 12.89 kB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3803, allocations: 126.4 kB / 1.286 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3804, allocations: 8.375 kB / 1.286 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3804, allocations: 4.375 kB / 1.286 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3806, allocations: 103.5 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3806, allocations: 0 / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3806, allocations: 7.938 kB / 1.286 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3806, allocations: 4 kB / 1.286 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.3807, allocations: 35.92 kB / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.3812, allocations: 395.8 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/0.3813, allocations: 37.19 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.3814, allocations: 21.84 kB / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.3814, allocations: 0 / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3814, allocations: 34.5 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3814, allocations: 0 / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.3816, allocations: 57.58 kB / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3816, allocations: 85.36 kB / 1.286 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3818, allocations: 158.1 kB / 1.287 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3818, allocations: 25.7 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.3819, allocations: 112 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.3819, allocations: 3.953 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.3819, allocations: 17.72 kB / 1.287 GB, free: 412 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3821, allocations: 322.8 kB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.3821, allocations: 4 kB / 1.287 GB, free: 76 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.3821, allocations: 21.7 kB / 1.287 GB, free: 48 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.3822, allocations: 37.64 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3822, allocations: 0 / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.3823, allocations: 57.67 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3823, allocations: 10.28 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3823, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3823, allocations: 4 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.3824, allocations: 7.984 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3824, allocations: 0 / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.3824, allocations: 7.953 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3825, allocations: 0 / 1.287 GB, free: 15.91 MB / 0.9981 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 8.843e-05/0.3825, allocations: 117.9 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.3826, allocations: 11.89 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.3826, allocations: 11.81 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3826, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3826, allocations: 7.922 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3826, allocations: 4 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.383, allocations: 441.7 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.383, allocations: 0 / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.3831, allocations: 4 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3831, allocations: 4.062 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3831, allocations: 0 / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3831, allocations: 4 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3831, allocations: 3.938 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.3832, allocations: 81.88 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.3832, allocations: 11.95 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3832, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.3832, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.3833, allocations: 7.984 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.3833, allocations: 0 / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.714e-05/0.3834, allocations: 115.3 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3834, allocations: 4.031 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001933/0.3835, allocations: 15.95 kB / 1.288 GB, free: 14.99 MB / 0.9981 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.0004204/0.384, allocations: 0.6093 MB / 1.289 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.3841, allocations: 23.92 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3841, allocations: 0 / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.3841, allocations: 8 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3842, allocations: 8.281 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3856, allocations: 1.328 MB / 1.29 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.3856, allocations: 83.64 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.3857, allocations: 8.422 kB / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.3857, allocations: 27.42 kB / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3857, allocations: 4 kB / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.4078, allocations: 1.754 MB / 1.292 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 12.22 kB / 1.292 GB, free: 11.15 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.704807893023826]