Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.896, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002169/0.8982, allocations: 0.8392 MB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.8983, allocations: 45.36 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.8984, allocations: 1.656 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.8984, allocations: 9.516 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.8985, allocations: 9.906 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.244e-05/0.8985, allocations: 16.03 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.8986, allocations: 67.39 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.8988, allocations: 35.28 kB / 1.273 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.8988, allocations: 26.31 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.8989, allocations: 26.67 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.8989, allocations: 6.531 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.8989, allocations: 6.281 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.8989, allocations: 15.77 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.899, allocations: 40.72 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.8991, allocations: 72.53 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8991, allocations: 4.938 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8991, allocations: 0 / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8991, allocations: 0 / 1.273 GB, free: 6.945 MB / 0.9981 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.0003497/0.8994, allocations: 376.5 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8995, allocations: 14.03 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.8995, allocations: 39 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.8995, allocations: 18.06 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.8997, allocations: 196.7 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.8997, allocations: 7.094 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.8997, allocations: 9.125 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.8999, allocations: 89.06 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8999, allocations: 4.828 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8999, allocations: 5.469 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.8999, allocations: 1.438 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.9, allocations: 40.25 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.9005, allocations: 438 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.9005, allocations: 45.23 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.9005, allocations: 16.39 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.9005, allocations: 1.375 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.9006, allocations: 39.31 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9006, allocations: 0.75 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002109/0.9008, allocations: 61.17 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.9008, allocations: 81.7 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.9009, allocations: 155.1 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.9009, allocations: 30.8 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.901, allocations: 107.1 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.901, allocations: 10.16 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.901, allocations: 18.08 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.253e-05/0.9011, allocations: 319.6 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.9011, allocations: 4.703 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.9011, allocations: 19.27 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.9011, allocations: 27.52 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.9011, allocations: 0 / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.617e-05/0.9012, allocations: 62.12 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9012, allocations: 9.344 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.9012, allocations: 0.8438 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9012, allocations: 1.156 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.9013, allocations: 5.844 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.9013, allocations: 1.922 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.9013, allocations: 5.938 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.9013, allocations: 5.906 kB / 1.275 GB, free: 4.816 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 4.8e-05/0.9014, allocations: 118.3 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.9014, allocations: 15.62 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.9015, allocations: 12.2 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.9015, allocations: 5.266 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9015, allocations: 0.9062 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9015, allocations: 1.625 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.9017, allocations: 474.4 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9017, allocations: 0.875 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.9018, allocations: 4.578 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9018, allocations: 0.875 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.9018, allocations: 1 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9018, allocations: 0.8438 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9018, allocations: 0.875 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.973e-05/0.9018, allocations: 85.02 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.9018, allocations: 86.14 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.9019, allocations: 5.594 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.9019, allocations: 1.125 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.9019, allocations: 5.719 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.9019, allocations: 1.094 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.715e-05/0.902, allocations: 120.5 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.902, allocations: 0 / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001807/0.9021, allocations: 15.31 kB / 1.276 GB, free: 3.891 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.0002481/0.9024, allocations: 0.613 MB / 1.276 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.9025, allocations: 22.77 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9025, allocations: 0 / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.9025, allocations: 4.781 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.9026, allocations: 12.89 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/0.9036, allocations: 1.344 MB / 1.278 GB, free: 18.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.9039, allocations: 0.6962 MB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.9039, allocations: 7.75 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.904, allocations: 22.62 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.904, allocations: 0.875 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06095/0.9649, allocations: 1.572 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.55, allocations: 5.562 kB / 1.28 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.866753457987215]