Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009727/0.0009727, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008317/0.0008317, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9074/0.9074, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.To_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.451e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001998/0.002023, allocations: 0.7982 MB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.002134, allocations: 51.78 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.002186, allocations: 0 / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.002222, allocations: 7.875 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.002311, allocations: 15.86 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.443e-05/0.002356, allocations: 11.98 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.002467, allocations: 67.83 kB / 0.9819 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.002598, allocations: 31.91 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.002695, allocations: 35.91 kB / 0.982 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.00275, allocations: 19.86 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.002773, allocations: 12 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-06/0.002779, allocations: 4 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.0028, allocations: 23.91 kB / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.002824, allocations: 11.94 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.002936, allocations: 75.69 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.002939, allocations: 0 / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.293e-06/0.00294, allocations: 0 / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.002945, allocations: 0 / 0.9821 GB, free: 1.414 MB / 0.9323 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.000341/0.003286, allocations: 302 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.003326, allocations: 8.031 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.003358, allocations: 42.75 kB / 0.9824 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.003382, allocations: 16.84 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.003536, allocations: 141.5 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.003545, allocations: 4.375 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.003554, allocations: 8.375 kB / 0.9826 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.003675, allocations: 95.94 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003682, allocations: 4.125 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.003691, allocations: 384 / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003696, allocations: 8.062 kB / 0.9827 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.003752, allocations: 35.98 kB / 0.9827 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.004203, allocations: 395.9 kB / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.004257, allocations: 41.2 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.004288, allocations: 17.78 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.004297, allocations: 4 kB / 0.9832 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.004318, allocations: 38.44 kB / 0.9832 GB, free: 120 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.00432, allocations: 3.984 kB / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.00447, allocations: 45.66 kB / 0.9833 GB, free: 64 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.004531, allocations: 92.97 kB / 0.9833 GB, free: 15.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.004658, allocations: 161 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.004667, allocations: 25.7 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.004724, allocations: 104 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.004732, allocations: 7.891 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.004768, allocations: 21.7 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.004881, allocations: 318.8 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.004896, allocations: 7.984 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.004917, allocations: 17.72 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.004954, allocations: 21.72 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004956, allocations: 7.938 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.98e-05/0.005026, allocations: 61.64 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.00504, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.005046, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.005059, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.005122, allocations: 11.94 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.005128, allocations: 3.938 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.005146, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.005151, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 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.98e-05/0.005211, allocations: 113.9 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.005233, allocations: 15.91 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.005256, allocations: 15.8 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.005258, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.005264, allocations: 3.938 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005267, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.005589, allocations: 429.9 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00559, allocations: 4 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.005603, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.005605, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005611, allocations: 64 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.005613, allocations: 7.984 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005614, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.308e-05/0.005667, allocations: 81.83 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.005699, allocations: 23.88 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005709, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-06/0.005719, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.005732, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.005735, allocations: 4 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.005789, allocations: 122.1 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.00579, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001212/0.005911, allocations: 15.97 kB / 0.9849 GB, free: 14.23 MB / 0.948 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.0002351/0.006146, allocations: 0.6132 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/0.006215, allocations: 15.94 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.006217, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.006222, allocations: 4 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.006339, allocations: 19.83 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.00732, allocations: 1.34 MB / 0.9868 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.007364, allocations: 75.33 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.007396, allocations: 8.484 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.00744, allocations: 24.5 kB / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.007441, allocations: 0 / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.02245, allocations: 2.229 MB / 0.9891 GB, free: 9.879 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.704, allocations: 4.625 kB / 0.9891 GB, free: 9.879 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.75563352368772]