Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001103/0.001103, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001327/0.001327, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9436/0.9436, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.736/1.736, allocations: 359 MB / 0.6052 GB, free: 11.04 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.964e-05, allocations: 8.156 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00131/0.00133, allocations: 0.8158 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.001444, allocations: 45.2 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.001484, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.001518, allocations: 11.86 kB / 0.788 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.001575, allocations: 12.75 kB / 0.788 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.327e-05/0.001619, allocations: 15.98 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.001703, allocations: 63.84 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.00181, allocations: 33.08 kB / 0.7881 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.001881, allocations: 43.84 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.001922, allocations: 19.91 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.00194, allocations: 4.719 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.001948, allocations: 8 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.001962, allocations: 5.469 kB / 0.7882 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.001989, allocations: 19.92 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.461e-05/0.002073, allocations: 47.7 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002075, allocations: 4 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.9e-07/0.002076, allocations: 3.188 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.00208, allocations: 0 / 0.7882 GB, free: 11.38 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.0003225/0.002402, allocations: 404.2 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.002436, allocations: 12.03 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.00247, allocations: 12.89 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.002588, allocations: 140.5 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.002597, allocations: 4.375 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.002608, allocations: 12.31 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.002723, allocations: 88.5 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.00273, allocations: 4.172 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.002742, allocations: 4.969 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.002748, allocations: 384 / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.00279, allocations: 33.14 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.003223, allocations: 0.7414 MB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.003303, allocations: 269.4 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.003335, allocations: 128.5 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.003361, allocations: 123.2 kB / 0.7901 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.003399, allocations: 152.6 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.003399, allocations: 0 / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.302e-05/0.003452, allocations: 43.2 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.003504, allocations: 174.5 kB / 0.7905 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.00361, allocations: 195.8 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.003618, allocations: 25.7 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.003686, allocations: 188 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.003688, allocations: 0 / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.003714, allocations: 23.38 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.00382, allocations: 0.4922 MB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.003832, allocations: 10.11 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.003873, allocations: 73.5 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.003936, allocations: 91.11 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.003938, allocations: 0 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001109/0.004049, allocations: 91.64 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.004061, allocations: 4 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.004068, allocations: 8.906 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.004079, allocations: 4 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.004129, allocations: 16.61 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.004136, allocations: 7.938 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.004156, allocations: 4.594 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004161, allocations: 5.375 kB / 0.7917 GB, free: 7.555 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 8.718e-05/0.004248, allocations: 283.7 kB / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.004291, allocations: 156.8 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.004337, allocations: 153.8 kB / 0.7922 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.004389, allocations: 268.1 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-05/0.00444, allocations: 276 kB / 0.7928 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/0.004492, allocations: 268.9 kB / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.004652, allocations: 0.5076 MB / 0.7935 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.004681, allocations: 149.4 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.004709, allocations: 144.9 kB / 0.7938 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-05/0.004761, allocations: 272.8 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.004815, allocations: 268.1 kB / 0.7943 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.133e-05/0.004867, allocations: 274.1 kB / 0.7946 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.182e-05/0.004919, allocations: 264.1 kB / 0.7948 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.005036, allocations: 455.8 kB / 0.7953 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.00508, allocations: 152.8 kB / 0.7954 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.005144, allocations: 276 kB / 0.7957 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.005198, allocations: 144.9 kB / 0.7958 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.005256, allocations: 272.9 kB / 0.7961 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.005288, allocations: 151.4 kB / 0.7962 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.005339, allocations: 145.1 kB / 0.7964 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005339, allocations: 0 / 0.7964 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001477/0.005487, allocations: 15.95 kB / 0.7964 GB, free: 2.562 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.145e-05/0.005568, allocations: 210.4 kB / 0.7966 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.005645, allocations: 41.33 kB / 0.7966 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005646, allocations: 0 / 0.7966 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.005649, allocations: 8.469 kB / 0.7966 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.005916, allocations: 0.7028 MB / 0.7973 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.006152, allocations: 281.5 kB / 0.7976 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.006184, allocations: 60.02 kB / 0.7976 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.006211, allocations: 11.09 kB / 0.7976 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.006229, allocations: 8.5 kB / 0.7976 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.006229, allocations: 4.906 kB / 0.7977 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.00166/0.007889, allocations: 324.4 kB / 0.798 GB, free: 0.8828 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.89144306210801]