Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001022/0.001022, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001099/0.001099, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.508 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 2.109/2.109, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.83e-05, allocations: 4.984 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.004665/0.004683, allocations: 0.8205 MB / 0.8802 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001187/0.004802, allocations: 45.41 kB / 0.8802 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.004852, allocations: 0.75 kB / 0.8802 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.004885, allocations: 7.875 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.004961, allocations: 16.36 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.551e-05/0.005006, allocations: 19.98 kB / 0.8803 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.335e-05/0.0051, allocations: 60.5 kB / 0.8803 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.005344, allocations: 28.47 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.225e-05/0.005436, allocations: 48.67 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.005472, allocations: 11.92 kB / 0.8804 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.005487, allocations: 4 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.005497, allocations: 9.25 kB / 0.8804 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.005515, allocations: 11.92 kB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.005539, allocations: 19.94 kB / 0.8805 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.005622, allocations: 44.8 kB / 0.8805 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005624, allocations: 0 / 0.8805 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005625, allocations: 0 / 0.8805 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.005628, allocations: 1.125 kB / 0.8805 GB, free: 4.883 MB / 0.8386 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.0003231/0.005951, allocations: 416.2 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005982, allocations: 9.094 kB / 0.8809 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.006014, allocations: 16.89 kB / 0.8809 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.006141, allocations: 136.4 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.006153, allocations: 9.469 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.006163, allocations: 8.312 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.006264, allocations: 81.59 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.006272, allocations: 0.9688 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.006279, allocations: 384 / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.006286, allocations: 6.031 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.006322, allocations: 31.84 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.006739, allocations: 0.7185 MB / 0.8819 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.006822, allocations: 265.4 kB / 0.8822 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.006854, allocations: 128.5 kB / 0.8823 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.006883, allocations: 127.1 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.006929, allocations: 156.6 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.00693, allocations: 0 / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.647e-05/0.006986, allocations: 38.81 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.007041, allocations: 174.6 kB / 0.8828 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.007148, allocations: 204.2 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.007155, allocations: 26.8 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003073/0.01023, allocations: 170.5 kB / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-06/0.01023, allocations: 4 kB / 0.8831 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.01027, allocations: 36.91 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01039, allocations: 0.4884 MB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.0104, allocations: 3.984 kB / 0.8837 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.01044, allocations: 73.48 kB / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.01074, allocations: 92.42 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01075, allocations: 5.469 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.01086, allocations: 74.09 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01087, allocations: 4.969 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01088, allocations: 4 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.01089, allocations: 4.562 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.01094, allocations: 15.94 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.01094, allocations: 8.234 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.01098, allocations: 19.89 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.01098, allocations: 4 kB / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.761e-05/0.01107, allocations: 279.7 kB / 0.8842 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.01113, allocations: 156.8 kB / 0.8844 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.01118, allocations: 152.7 kB / 0.8845 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/0.01124, allocations: 272.1 kB / 0.8848 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.436e-05/0.01131, allocations: 268 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.247e-05/0.01137, allocations: 272 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.01157, allocations: 0.4926 MB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.01161, allocations: 152.9 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.01164, allocations: 144.9 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-05/0.0117, allocations: 276 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.01176, allocations: 264.1 kB / 0.8866 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.193e-05/0.01182, allocations: 268 kB / 0.8868 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.787e-05/0.01188, allocations: 268.1 kB / 0.8871 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.01201, allocations: 459.8 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.01206, allocations: 156.8 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.01213, allocations: 272 kB / 0.8879 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.0122, allocations: 144.9 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.01227, allocations: 268.3 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.0123, allocations: 156.9 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.01236, allocations: 143.2 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01236, allocations: 0 / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002212/0.01258, allocations: 8 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.568e-05/0.01267, allocations: 210.4 kB / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.01275, allocations: 35.58 kB / 0.8888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01275, allocations: 0.5 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.01275, allocations: 3.938 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.01348, allocations: 0.7101 MB / 0.8895 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.01372, allocations: 273.7 kB / 0.8898 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.01376, allocations: 55.36 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.01379, allocations: 8.719 kB / 0.8899 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.01383, allocations: 74.2 kB / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01383, allocations: 0 / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.001837/0.01566, allocations: 346.7 kB / 0.8903 GB, free: 10.35 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.383858855813742]