Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008697/0.0008697, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00106/0.00106, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8378/0.8378, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.731/1.731, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 3.984 kB / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.362e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001367/0.001391, allocations: 0.7928 MB / 1 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 9.75e-05/0.001488, allocations: 39.78 kB / 1 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.001532, allocations: 4 kB / 1 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.00157, allocations: 7.875 kB / 1 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.001643, allocations: 11.86 kB / 1.001 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 3.821e-05/0.001682, allocations: 19.98 kB / 1.001 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.001781, allocations: 63.75 kB / 1.001 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.001897, allocations: 27.95 kB / 1.001 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.001982, allocations: 43.84 kB / 1.001 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.002023, allocations: 27.89 kB / 1.001 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.002045, allocations: 7.938 kB / 1.001 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.002052, allocations: 8 kB / 1.001 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.002069, allocations: 11.94 kB / 1.001 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.002095, allocations: 19.92 kB / 1.001 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.00219, allocations: 67.77 kB / 1.001 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002192, allocations: 0 / 1.001 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002193, allocations: 0 / 1.001 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002197, allocations: 0 / 1.001 GB, free: 11.23 MB / 0.9167 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.0003213/0.002518, allocations: 314 kB / 1.001 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.002558, allocations: 8.75 kB / 1.001 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.002589, allocations: 38.75 kB / 1.001 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.00261, allocations: 8.891 kB / 1.001 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.00276, allocations: 137.6 kB / 1.001 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.00277, allocations: 8.375 kB / 1.001 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.002779, allocations: 4.375 kB / 1.001 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.002895, allocations: 91.95 kB / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.002903, allocations: 192 / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.002916, allocations: 384 / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.002925, allocations: 20.05 kB / 1.001 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.003001, allocations: 39.92 kB / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.003385, allocations: 387.7 kB / 1.002 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.003436, allocations: 41.28 kB / 1.002 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.003464, allocations: 21.84 kB / 1.002 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.00347, allocations: 0 / 1.002 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.00349, allocations: 34.5 kB / 1.002 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.003491, allocations: 4 kB / 1.002 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.00363, allocations: 57.58 kB / 1.002 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.003664, allocations: 84.98 kB / 1.002 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.003765, allocations: 159.5 kB / 1.002 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.003773, allocations: 25.7 kB / 1.002 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.003822, allocations: 104 kB / 1.002 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-06/0.00383, allocations: 11.95 kB / 1.002 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.003855, allocations: 13.72 kB / 1.002 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.003928, allocations: 318.8 kB / 1.003 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.003942, allocations: 8 kB / 1.003 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.003958, allocations: 13.97 kB / 1.003 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.00399, allocations: 33.72 kB / 1.003 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.003994, allocations: 4 kB / 1.003 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.879e-05/0.004052, allocations: 57.58 kB / 1.003 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.004069, allocations: 9.875 kB / 1.003 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.004074, allocations: 0 / 1.003 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.004088, allocations: 0 / 1.003 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.004144, allocations: 7.938 kB / 1.003 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004149, allocations: 4 kB / 1.003 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.004168, allocations: 11.95 kB / 1.003 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.004173, allocations: 3.984 kB / 1.003 GB, free: 8.953 MB / 0.9167 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.269e-05/0.004225, allocations: 118.4 kB / 1.003 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.004246, allocations: 7.953 kB / 1.003 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.004264, allocations: 11.81 kB / 1.003 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004266, allocations: 0 / 1.003 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.004271, allocations: 7.938 kB / 1.003 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004274, allocations: 0 / 1.003 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.004557, allocations: 433.9 kB / 1.003 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.004559, allocations: 7.984 kB / 1.003 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.004572, allocations: 11.94 kB / 1.003 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.004574, allocations: 0 / 1.003 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.004581, allocations: 4 kB / 1.003 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.004582, allocations: 0 / 1.003 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004583, allocations: 4 kB / 1.003 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.993e-05/0.004633, allocations: 70.73 kB / 1.003 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.004654, allocations: 15.88 kB / 1.003 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.004663, allocations: 0 / 1.003 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.004673, allocations: 3.938 kB / 1.003 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.004684, allocations: 4 kB / 1.003 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.004686, allocations: 4.031 kB / 1.003 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.004745, allocations: 128.9 kB / 1.004 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004745, allocations: 3.938 kB / 1.004 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001317/0.004877, allocations: 11.95 kB / 1.004 GB, free: 8.035 MB / 0.9167 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.0002472/0.005124, allocations: 0.6054 MB / 1.004 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.005206, allocations: 23.92 kB / 1.004 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.005208, allocations: 0 / 1.004 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-06/0.005215, allocations: 12.16 kB / 1.004 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.005334, allocations: 1.547 kB / 1.004 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.006194, allocations: 1.335 MB / 1.006 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.006239, allocations: 75.33 kB / 1.006 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.006267, allocations: 8.484 kB / 1.006 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.006312, allocations: 28.7 kB / 1.006 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.006312, allocations: 4 kB / 1.006 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02234, allocations: 2.236 MB / 1.008 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.62, allocations: 3.938 kB / 1.008 GB, free: 3.684 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 10.438955447636545]