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.001536/0.001536, allocations: 112.1 kB / 16.41 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.001361/0.00136, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.425/1.425, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.705/2.705, allocations: 437.1 MB / 0.7171 GB, free: 4.082 MB / 0.5762 GB " [Timeout remaining time 177] 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.001982/0.001982, allocations: 67.89 kB / 1.027 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9148, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001857/0.9167, allocations: 0.8251 MB / 1.176 GB, free: 16.92 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.9168, allocations: 41.73 kB / 1.176 GB, free: 16.89 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.9169, allocations: 5.281 kB / 1.176 GB, free: 16.89 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.917, allocations: 10.22 kB / 1.176 GB, free: 16.88 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.917, allocations: 9.859 kB / 1.176 GB, free: 16.87 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.005e-05/0.9171, allocations: 20.47 kB / 1.176 GB, free: 16.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.9172, allocations: 60.06 kB / 1.176 GB, free: 16.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.9174, allocations: 41.92 kB / 1.176 GB, free: 16.81 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.9174, allocations: 29.53 kB / 1.176 GB, free: 16.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.9175, allocations: 26.8 kB / 1.176 GB, free: 16.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.9175, allocations: 5.906 kB / 1.176 GB, free: 16.78 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.9175, allocations: 6.875 kB / 1.176 GB, free: 16.78 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.9176, allocations: 15.44 kB / 1.176 GB, free: 16.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.9176, allocations: 36.8 kB / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.9177, allocations: 77.25 kB / 1.176 GB, free: 16.7 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9177, allocations: 4 kB / 1.176 GB, free: 16.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9178, allocations: 1.344 kB / 1.176 GB, free: 16.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9178, allocations: 0 / 1.176 GB, free: 16.7 MB / 0.92 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.0003864/0.9182, allocations: 379.6 kB / 1.176 GB, free: 16.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.9182, allocations: 10.75 kB / 1.176 GB, free: 16.31 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.9182, allocations: 43.23 kB / 1.176 GB, free: 16.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.9183, allocations: 14.61 kB / 1.176 GB, free: 16.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.9185, allocations: 195.6 kB / 1.176 GB, free: 16.04 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.9185, allocations: 2.938 kB / 1.176 GB, free: 16.04 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.9185, allocations: 13.41 kB / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.9187, allocations: 93.53 kB / 1.177 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9187, allocations: 8.906 kB / 1.177 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.9187, allocations: 0.5625 kB / 1.177 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.9187, allocations: 3 kB / 1.177 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.9188, allocations: 40.11 kB / 1.177 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.9192, allocations: 438.2 kB / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.972e-05/0.9193, allocations: 45.44 kB / 1.177 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.9193, allocations: 17.48 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.9193, allocations: 0 / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.9194, allocations: 40.19 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.9194, allocations: 0 / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.9195, allocations: 61.25 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.9196, allocations: 78.33 kB / 1.177 GB, free: 15.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.9197, allocations: 159.2 kB / 1.177 GB, free: 15.15 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.9197, allocations: 25.7 kB / 1.177 GB, free: 15.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.9198, allocations: 100.5 kB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.9198, allocations: 10.19 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.9198, allocations: 18.61 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.9199, allocations: 319.3 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.9199, allocations: 8.188 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.9199, allocations: 23.34 kB / 1.178 GB, free: 14.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.9199, allocations: 31.12 kB / 1.178 GB, free: 14.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.92, allocations: 0.7031 kB / 1.178 GB, free: 14.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.158e-05/0.92, allocations: 65.61 kB / 1.178 GB, free: 14.58 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9201, allocations: 9.875 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9201, allocations: 0 / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9201, allocations: 2.141 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.9201, allocations: 6.125 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.9202, allocations: 0 / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.9202, allocations: 6.469 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.9202, allocations: 2.062 kB / 1.178 GB, free: 14.57 MB / 0.92 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.333e-05/0.9203, allocations: 118.7 kB / 1.178 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.9203, allocations: 12.77 kB / 1.178 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.9203, allocations: 11.83 kB / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9203, allocations: 1.281 kB / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9203, allocations: 1.484 kB / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.9204, allocations: 0 / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.9206, allocations: 475.4 kB / 1.179 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.9206, allocations: 1.5 kB / 1.179 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.9207, allocations: 2.969 kB / 1.179 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9207, allocations: 5.344 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.9207, allocations: 3.938 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9207, allocations: 1.438 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9207, allocations: 2.203 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.9208, allocations: 83.67 kB / 1.179 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.9208, allocations: 86.39 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.9208, allocations: 1.656 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.9209, allocations: 1.438 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.9209, allocations: 1.891 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.9209, allocations: 5.375 kB / 1.179 GB, free: 13.74 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.921, allocations: 120.5 kB / 1.179 GB, free: 13.65 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.921, allocations: 1.375 kB / 1.179 GB, free: 13.65 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001833/0.9212, allocations: 6.469 kB / 1.179 GB, free: 13.65 MB / 0.92 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.00024/0.9214, allocations: 0.6193 MB / 1.18 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.9215, allocations: 20.33 kB / 1.18 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9215, allocations: 8.094 kB / 1.18 GB, free: 13.02 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.9215, allocations: 4.375 kB / 1.18 GB, free: 13.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.9217, allocations: 11.45 kB / 1.18 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.9226, allocations: 1.334 MB / 1.181 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.9228, allocations: 0.6978 MB / 1.182 GB, free: 11.08 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.9228, allocations: 6.859 kB / 1.182 GB, free: 11.08 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.9229, allocations: 20.67 kB / 1.182 GB, free: 11.07 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.9229, allocations: 0.9688 kB / 1.182 GB, free: 11.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.9478, allocations: 1.578 MB / 1.183 GB, free: 10.68 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.892, allocations: 13.86 kB / 1.183 GB, free: 10.67 MB / 0.92 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.919843868119642]