Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001572/0.001572, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.002008/0.002008, allocations: 169 kB / 23.49 MB, free: 1.051 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.14/2.14, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.902e-05/4.082e-05, allocations: 8.156 kB / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002514/0.002555, allocations: 1.461 MB / 0.8796 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.004346, allocations: 1.913 MB / 0.8815 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.00439, allocations: 0 / 0.8815 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.005399, allocations: 362.5 kB / 0.8818 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.005457, allocations: 27.78 kB / 0.8818 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.005462, allocations: 4 kB / 0.8818 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.005704, allocations: 127.1 kB / 0.8819 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.005763, allocations: 10.86 kB / 0.882 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.005844, allocations: 67.8 kB / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005955, allocations: 49.48 kB / 0.8821 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.005975, allocations: 0 / 0.8821 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.006317, allocations: 175.8 kB / 0.8822 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.006375, allocations: 34.38 kB / 0.8823 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.006436, allocations: 47.84 kB / 0.8823 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.006833, allocations: 290.8 kB / 0.8826 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006837, allocations: 3.938 kB / 0.8826 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/0.006839, allocations: 0 / 0.8826 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.006845, allocations: 4 kB / 0.8826 GB, free: 2.145 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006382/0.007483, allocations: 0.5171 MB / 0.8831 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.007528, allocations: 12.03 kB / 0.8831 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.007661, allocations: 140 kB / 0.8833 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.007857, allocations: 275.1 kB / 0.8835 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/0.007934, allocations: 246.8 kB / 0.8837 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.008001, allocations: 246.8 kB / 0.884 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.845e-05/0.00807, allocations: 145.5 kB / 0.8841 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.008099, allocations: 119.4 kB / 0.8842 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.008163, allocations: 246.5 kB / 0.8845 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-05/0.008235, allocations: 238.4 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.008297, allocations: 246.3 kB / 0.8849 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.008631, allocations: 0.646 MB / 0.8856 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.008734, allocations: 269.4 kB / 0.8858 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.008775, allocations: 126.9 kB / 0.8859 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.009139, allocations: 123.2 kB / 0.8861 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.00919, allocations: 160.5 kB / 0.8862 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.009191, allocations: 0 / 0.8862 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001444/0.009335, allocations: 53.55 kB / 0.8863 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.009398, allocations: 174.5 kB / 0.8864 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.009681, allocations: 364.2 kB / 0.8868 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.009693, allocations: 25.7 kB / 0.8868 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.009772, allocations: 175.2 kB / 0.887 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.009775, allocations: 0 / 0.887 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.009852, allocations: 87.34 kB / 0.8871 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.009993, allocations: 0.5079 MB / 0.8875 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.01004, allocations: 27.94 kB / 0.8876 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.01012, allocations: 113.8 kB / 0.8877 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.01026, allocations: 165.7 kB / 0.8878 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01026, allocations: 0 / 0.8878 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003307/0.0106, allocations: 193.3 kB / 0.888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01061, allocations: 4 kB / 0.888 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.01062, allocations: 7.938 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01064, allocations: 0 / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-06/0.01064, allocations: 7.938 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01065, allocations: 3.984 kB / 0.888 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.01073, allocations: 31.67 kB / 0.8881 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01074, allocations: 8.219 kB / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001343/0.01087, allocations: 283.7 kB / 0.8884 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.01093, allocations: 160.8 kB / 0.8885 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.01098, allocations: 161.6 kB / 0.8887 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/0.01105, allocations: 268.1 kB / 0.8889 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.485e-05/0.01111, allocations: 272.1 kB / 0.8892 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.756e-05/0.01118, allocations: 272 kB / 0.8894 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.01141, allocations: 0.5467 MB / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/0.01145, allocations: 152.8 kB / 0.8901 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.01149, allocations: 149 kB / 0.8903 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.01155, allocations: 272.1 kB / 0.8905 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.01162, allocations: 268 kB / 0.8908 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.824e-05/0.01169, allocations: 272.1 kB / 0.891 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.993e-05/0.01177, allocations: 272 kB / 0.8913 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01196, allocations: 455.8 kB / 0.8917 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.01203, allocations: 168.7 kB / 0.8919 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.01213, allocations: 268.1 kB / 0.8921 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.01222, allocations: 152.8 kB / 0.8923 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.01231, allocations: 268 kB / 0.8925 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.01235, allocations: 144.9 kB / 0.8927 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001383/0.01248, allocations: 233 kB / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01248, allocations: 0 / 0.8929 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003126/0.0128, allocations: 63.92 kB / 0.893 GB, free: 7.062 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 0.0007102/0.01351, allocations: 314.2 kB / 0.8933 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.01367, allocations: 75.94 kB / 0.8933 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01367, allocations: 0 / 0.8933 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-06/0.01368, allocations: 0 / 0.8933 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.01404, allocations: 0.7106 MB / 0.894 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.01475, allocations: 402.6 kB / 0.8944 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.01481, allocations: 87.23 kB / 0.8945 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.01483, allocations: 448 / 0.8945 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.01486, allocations: 16.5 kB / 0.8945 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/0.01486, allocations: 0 / 0.8945 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of Templates: time 0.005164/0.02002, allocations: 2.313 MB / 0.8968 GB, free: 3.109 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.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.744860447943211]