Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001776/0.001776, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.00276/0.00276, allocations: 192.6 kB / 19.41 MB, free: 3.656 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.755/2.755, allocations: 443.5 MB / 0.7287 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 1.056 GB, free: 2.512 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3629, allocations: 160.7 MB / 1.213 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002149/0.3651, allocations: 0.8331 MB / 1.214 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.3652, allocations: 39.8 kB / 1.214 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.3652, allocations: 0 / 1.214 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.3653, allocations: 15.8 kB / 1.214 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.593e-05/0.3653, allocations: 11.88 kB / 1.214 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.46e-05/0.3654, allocations: 19.98 kB / 1.214 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.3655, allocations: 63.88 kB / 1.214 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3656, allocations: 39.97 kB / 1.214 GB, free: 464 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.3657, allocations: 23.86 kB / 1.214 GB, free: 440 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.3658, allocations: 27.8 kB / 1.214 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3658, allocations: 4 kB / 1.214 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.3658, allocations: 8 kB / 1.214 GB, free: 400 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.3658, allocations: 23.86 kB / 1.214 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.3659, allocations: 27.81 kB / 1.214 GB, free: 348 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.366, allocations: 87.84 kB / 1.214 GB, free: 260 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.366, allocations: 0 / 1.214 GB, free: 260 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.964e-06/0.366, allocations: 0 / 1.214 GB, free: 260 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.366, allocations: 0 / 1.214 GB, free: 260 kB / 0.9512 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.0005265/0.3666, allocations: 379.1 kB / 1.214 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3666, allocations: 8.031 kB / 1.214 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.3667, allocations: 42.73 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.3667, allocations: 12.84 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3669, allocations: 196.1 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.367, allocations: 12.38 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.367, allocations: 4.375 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3672, allocations: 95.94 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3672, allocations: 7.875 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3672, allocations: 0 / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3672, allocations: 7.938 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.3673, allocations: 35.98 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.3679, allocations: 440.8 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.368, allocations: 37.22 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.368, allocations: 17.78 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-06/0.368, allocations: 0 / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.368, allocations: 42.48 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.368, allocations: 0 / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.3682, allocations: 53.59 kB / 1.215 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.3683, allocations: 81.05 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3684, allocations: 161.1 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3685, allocations: 25.7 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.3685, allocations: 104.3 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.3686, allocations: 7.891 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3686, allocations: 21.67 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3687, allocations: 322.8 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.3688, allocations: 4 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.3688, allocations: 21.7 kB / 1.216 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.3688, allocations: 29.72 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3688, allocations: 3.938 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.115e-05/0.3689, allocations: 53.66 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.369, allocations: 9.656 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.369, allocations: 0 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.369, allocations: 3.984 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.369, allocations: 8 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.369, allocations: 3.938 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.3691, allocations: 0 / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.3691, allocations: 8.062 kB / 1.216 GB, free: 13.77 MB / 0.9669 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 9.221e-05/0.3692, allocations: 113.8 kB / 1.216 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3692, allocations: 15.92 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3692, allocations: 15.84 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3692, allocations: 4 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3692, allocations: 0 / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3693, allocations: 0 / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.3697, allocations: 478.7 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3697, allocations: 0 / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.3697, allocations: 4 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3697, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3697, allocations: 4 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3697, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3697, allocations: 7.938 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.3699, allocations: 85.88 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3699, allocations: 89.06 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3699, allocations: 3.984 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.37, allocations: 0 / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.37, allocations: 0 / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.37, allocations: 4 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000105/0.3701, allocations: 120.9 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3701, allocations: 0 / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001873/0.3703, allocations: 11.97 kB / 1.217 GB, free: 12.71 MB / 0.9669 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.0004531/0.3707, allocations: 0.6132 MB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.3708, allocations: 24.03 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3708, allocations: 4.062 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.3708, allocations: 4 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.371, allocations: 7.938 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3723, allocations: 1.33 MB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3727, allocations: 0.7002 MB / 1.22 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.3727, allocations: 4.438 kB / 1.22 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.3728, allocations: 23.42 kB / 1.22 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3728, allocations: 0 / 1.22 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.3973, allocations: 1.591 MB / 1.221 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.477, allocations: 0.9375 kB / 1.221 GB, free: 8.359 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.756995618343353]