Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009848/0.0009848, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009194/0.0009194, allocations: 181 kB / 24.09 MB, free: 420 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 0.955/0.955, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.756e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001291/0.001309, allocations: 0.8094 MB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.00142, allocations: 40.56 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.001466, allocations: 4 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.001499, allocations: 13.48 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.001575, allocations: 11.88 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.694e-05/0.001612, allocations: 15.98 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.001698, allocations: 67.77 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.001801, allocations: 29.2 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.00189, allocations: 47.88 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.001927, allocations: 15.92 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.001942, allocations: 4.75 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-06/0.001949, allocations: 7.938 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.001967, allocations: 12.84 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.00199, allocations: 23.91 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.176e-05/0.002062, allocations: 32.5 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.002065, allocations: 3.984 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002065, allocations: 1.594 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002068, allocations: 7.938 kB / 0.7887 GB, free: 11.06 MB / 0.7448 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.0003061/0.002374, allocations: 404.2 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.002406, allocations: 12.03 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.002431, allocations: 20.33 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.002547, allocations: 140.4 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.002556, allocations: 4.375 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.002564, allocations: 8.375 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.904e-05/0.002653, allocations: 77.61 kB / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.00266, allocations: 192 / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.002669, allocations: 8.359 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.002676, allocations: 4.375 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.002708, allocations: 27.8 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.003116, allocations: 0.7196 MB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.003198, allocations: 269.4 kB / 0.7903 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.003229, allocations: 132.7 kB / 0.7904 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.003257, allocations: 123.2 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.003309, allocations: 152.6 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.00331, allocations: 0 / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.706e-05/0.003357, allocations: 38.39 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.003404, allocations: 170.6 kB / 0.7909 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.003515, allocations: 200.7 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.003523, allocations: 25.7 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.003597, allocations: 182.4 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.003599, allocations: 1.531 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.003629, allocations: 31.36 kB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.003752, allocations: 492.1 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.003763, allocations: 15.91 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.003804, allocations: 70.06 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.003875, allocations: 97.31 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.003877, allocations: 0 / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.989e-05/0.003977, allocations: 82.83 kB / 0.792 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.003988, allocations: 4 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.003995, allocations: 5.219 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004006, allocations: 11.88 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.812e-05/0.004044, allocations: 11.98 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.004047, allocations: 4.625 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.004069, allocations: 7.938 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.004074, allocations: 5.125 kB / 0.7921 GB, free: 7.281 MB / 0.7448 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 9.073e-05/0.004164, allocations: 287.6 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.004214, allocations: 157.7 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.004263, allocations: 152.7 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/0.004327, allocations: 272 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.149e-05/0.004389, allocations: 264.7 kB / 0.7932 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.004457, allocations: 281.1 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.004631, allocations: 492.5 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.004666, allocations: 144.9 kB / 0.7941 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.004703, allocations: 152.8 kB / 0.7942 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.94e-05/0.004762, allocations: 272.6 kB / 0.7945 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.004826, allocations: 269.1 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/0.004884, allocations: 264.2 kB / 0.795 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-05/0.004947, allocations: 268.1 kB / 0.7952 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.005072, allocations: 460.8 kB / 0.7957 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.005122, allocations: 156.8 kB / 0.7958 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.005195, allocations: 268.1 kB / 0.7961 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.005255, allocations: 145.7 kB / 0.7962 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.005322, allocations: 272.3 kB / 0.7965 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.005357, allocations: 151.1 kB / 0.7966 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.005411, allocations: 144.7 kB / 0.7967 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005411, allocations: 0 / 0.7967 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001419/0.005553, allocations: 11.95 kB / 0.7968 GB, free: 2.32 MB / 0.7448 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 8.63e-05/0.00564, allocations: 217.2 kB / 0.797 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.0057, allocations: 43.52 kB / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005701, allocations: 0 / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.005701, allocations: 0 / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.005979, allocations: 0.7023 MB / 0.7977 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.006187, allocations: 289.2 kB / 0.798 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.006219, allocations: 59.34 kB / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.006248, allocations: 2.109 kB / 0.798 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.006284, allocations: 75.3 kB / 0.7981 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.006285, allocations: 3.938 kB / 0.7981 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of Templates: time 0.001684/0.007969, allocations: 334.1 kB / 0.7984 GB, free: 0.5664 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.869325012899935]