Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0009712/0.0009712, 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.001209/0.001209, allocations: 161.4 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 1.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.957/1.957, allocations: 377.9 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.498e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00164/0.001665, allocations: 0.8316 MB / 0.8124 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001277/0.001793, allocations: 49.22 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.001847, allocations: 0 / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.001886, allocations: 7.875 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.001963, allocations: 9.062 kB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.358e-05/0.002017, allocations: 19.97 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.002114, allocations: 67.78 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.002252, allocations: 28.59 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.002324, allocations: 37.31 kB / 0.8126 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.00238, allocations: 23.84 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.002398, allocations: 4 kB / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.002406, allocations: 8 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.002428, allocations: 20.92 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.002458, allocations: 19.91 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.002552, allocations: 43.83 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.002554, allocations: 0.6875 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002555, allocations: 0.9062 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00256, allocations: 0 / 0.8127 GB, free: 0.6094 MB / 0.7605 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.0003819/0.002942, allocations: 405 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.002987, allocations: 8.031 kB / 0.8131 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.003027, allocations: 17.77 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.003204, allocations: 144.4 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.003215, allocations: 9.625 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.00323, allocations: 4.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.003351, allocations: 89.52 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.003362, allocations: 1.969 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.003373, allocations: 4.375 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.003383, allocations: 4.375 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.003427, allocations: 23.86 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.003847, allocations: 459.5 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.75e-05/0.003905, allocations: 58.31 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.003942, allocations: 20.34 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.003955, allocations: 3.984 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.003981, allocations: 42.2 kB / 0.8139 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.003982, allocations: 0 / 0.8139 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.004137, allocations: 42.81 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.004176, allocations: 85.05 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.004285, allocations: 186.4 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.004295, allocations: 25.7 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.004365, allocations: 163.8 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.004374, allocations: 11.89 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.004404, allocations: 27.36 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.004527, allocations: 493.1 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.004541, allocations: 4 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.004563, allocations: 28.39 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.004599, allocations: 23.38 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004601, allocations: 1.812 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.563e-05/0.004666, allocations: 49.59 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.004684, allocations: 8 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.00469, allocations: 5.516 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.004708, allocations: 0 / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.004768, allocations: 12 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.004775, allocations: 3.938 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.004791, allocations: 4.438 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.004795, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 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 6.748e-05/0.004862, allocations: 161.1 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.004887, allocations: 9.359 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.004914, allocations: 11.45 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004916, allocations: 96 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.004919, allocations: 4.625 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.004924, allocations: 7.922 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.00521, allocations: 0.5351 MB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.005211, allocations: 1.875 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.005228, allocations: 11.98 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.00523, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.005238, allocations: 7.938 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005239, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00524, allocations: 0.625 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.555e-05/0.005305, allocations: 88.75 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.005322, allocations: 7.984 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.005333, allocations: 4.75 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.005342, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.005356, allocations: 0.9375 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.00536, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.005407, allocations: 139.2 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005407, allocations: 1.344 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001304/0.005537, allocations: 15.89 kB / 0.816 GB, free: 12.86 MB / 0.7761 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 8.386e-05/0.005621, allocations: 96.11 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.032e-05/0.005702, allocations: 25.72 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.005704, allocations: 4 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.005712, allocations: 7.688 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.005831, allocations: 4 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.006129, allocations: 173.7 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.006171, allocations: 62.78 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.006199, allocations: 4 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.006223, allocations: 8.5 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.006224, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.002162/0.008386, allocations: 353 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.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.434699059929699]