Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001669/0.001669, 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.001977/0.001977, 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.994/2.994, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.002259/0.002259, allocations: 71.88 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002121/1.009, allocations: 0.8323 MB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/1.009, allocations: 40.56 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/1.009, allocations: 0 / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/1.009, allocations: 11.3 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/1.009, allocations: 14.41 kB / 1.322 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.851e-05/1.009, allocations: 14.12 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/1.009, allocations: 65.92 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/1.01, allocations: 29.05 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/1.01, allocations: 30.77 kB / 1.322 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/1.01, allocations: 35.23 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/1.01, allocations: 6.062 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/1.01, allocations: 5.844 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/1.01, allocations: 9.953 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/1.01, allocations: 39.66 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/1.01, allocations: 76.27 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.01, allocations: 2.969 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.01, allocations: 0 / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.01, allocations: 0 / 1.323 GB, free: 23.96 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.0004321/1.01, allocations: 389.6 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.01, allocations: 14.3 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/1.01, allocations: 192 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/1.01, allocations: 40.92 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/1.01, allocations: 10.2 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/1.011, allocations: 193.1 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.011, allocations: 7.281 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.011, allocations: 9.688 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/1.011, allocations: 99.92 kB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.011, allocations: 0 / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.011, allocations: 6.719 kB / 1.323 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.011, allocations: 0 / 1.323 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/1.011, allocations: 44.03 kB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.011, allocations: 433 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/1.012, allocations: 46.22 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/1.012, allocations: 19.16 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/1.012, allocations: 0 / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/1.012, allocations: 34.5 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.012, allocations: 3.938 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000172/1.012, allocations: 62.41 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.012, allocations: 83.67 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/1.012, allocations: 159.8 kB / 1.324 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/1.012, allocations: 25.7 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/1.012, allocations: 102.2 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/1.012, allocations: 6.828 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/1.012, allocations: 16.41 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/1.012, allocations: 325.4 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/1.012, allocations: 2.781 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/1.012, allocations: 19.31 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/1.012, allocations: 29.5 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/1.012, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.785e-05/1.012, allocations: 58.19 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.012, allocations: 14.84 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.012, allocations: 2.562 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.012, allocations: 3.188 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/1.012, allocations: 13.12 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.012, allocations: 2.594 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/1.012, allocations: 7.891 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/1.012, allocations: 2.969 kB / 1.325 GB, free: 21.82 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 5.918e-05/1.012, allocations: 112.5 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/1.012, allocations: 17.48 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/1.012, allocations: 14.03 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.012, allocations: 0 / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.012, allocations: 0 / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.012, allocations: 0 / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/1.013, allocations: 468.8 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.013, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/1.013, allocations: 2.906 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.013, allocations: 4.062 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/1.013, allocations: 3.188 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.013, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.013, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.344e-05/1.013, allocations: 93.05 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/1.013, allocations: 91.14 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/1.013, allocations: 7.062 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/1.013, allocations: 0 / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/1.013, allocations: 0 / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/1.013, allocations: 2.594 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.356e-05/1.013, allocations: 127.1 kB / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/1.013, allocations: 0 / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001835/1.013, allocations: 8.375 kB / 1.326 GB, free: 20.9 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.0002852/1.013, allocations: 0.6179 MB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.162e-05/1.014, allocations: 14.47 kB / 1.326 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.014, allocations: 0 / 1.326 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.487e-06/1.014, allocations: 9.219 kB / 1.326 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/1.014, allocations: 6.938 kB / 1.326 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/1.015, allocations: 1.335 MB / 1.328 GB, free: 19.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/1.015, allocations: 0.6927 MB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.205e-05/1.015, allocations: 6.969 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/1.015, allocations: 27.83 kB / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.015, allocations: 0 / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/1.035, allocations: 1.631 MB / 1.33 GB, free: 17.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.757/9.791, allocations: 7.047 kB / 1.33 GB, free: 17.92 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.475146670010872]