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.000912/0.000912, allocations: 73.97 kB / 20.65 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.0009517/0.0009517, allocations: 169 kB / 24.06 MB, free: 452 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.145/2.145, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.333e-06/1.333e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.093e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001885/0.001906, allocations: 1.466 MB / 0.8808 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.003566, allocations: 1.903 MB / 0.8827 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.003596, allocations: 4 kB / 0.8827 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.004409, allocations: 374.5 kB / 0.883 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.004452, allocations: 23.84 kB / 0.883 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.347e-06/0.004455, allocations: 0 / 0.883 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.004642, allocations: 131.1 kB / 0.8832 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.004685, allocations: 5.688 kB / 0.8832 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.004752, allocations: 63.8 kB / 0.8832 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.004839, allocations: 49.28 kB / 0.8833 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004854, allocations: 4 kB / 0.8833 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.005127, allocations: 184.2 kB / 0.8835 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.005171, allocations: 29.47 kB / 0.8835 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.005223, allocations: 47.86 kB / 0.8835 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.005553, allocations: 290.9 kB / 0.8838 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005555, allocations: 0 / 0.8838 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005556, allocations: 1.625 kB / 0.8838 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.00556, allocations: 0 / 0.8838 GB, free: 1.504 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.0005407/0.006101, allocations: 0.5228 MB / 0.8843 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.006138, allocations: 9.094 kB / 0.8843 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.00625, allocations: 144 kB / 0.8845 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.006407, allocations: 272.7 kB / 0.8847 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.006468, allocations: 238.8 kB / 0.885 GB, free: 280 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.006529, allocations: 246.8 kB / 0.8852 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/0.006598, allocations: 149.4 kB / 0.8853 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.006626, allocations: 119.4 kB / 0.8854 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.006679, allocations: 250.5 kB / 0.8857 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.006731, allocations: 238.4 kB / 0.8859 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.006783, allocations: 238.4 kB / 0.8861 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.007037, allocations: 0.6037 MB / 0.8867 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.007121, allocations: 273.4 kB / 0.887 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.007154, allocations: 126.9 kB / 0.8871 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.007182, allocations: 119.2 kB / 0.8872 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.007228, allocations: 156.6 kB / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.007229, allocations: 0 / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001078/0.007337, allocations: 45.56 kB / 0.8874 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.007391, allocations: 178.6 kB / 0.8876 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.007607, allocations: 367.9 kB / 0.8879 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.007617, allocations: 29.69 kB / 0.888 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.007687, allocations: 179.2 kB / 0.8881 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.007689, allocations: 0 / 0.8881 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.007756, allocations: 83.3 kB / 0.8882 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.007891, allocations: 0.5157 MB / 0.8887 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.007917, allocations: 16 kB / 0.8887 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.00798, allocations: 97.77 kB / 0.8888 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.008098, allocations: 161.6 kB / 0.889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0081, allocations: 0 / 0.889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002512/0.008351, allocations: 177.4 kB / 0.8892 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.008363, allocations: 8 kB / 0.8892 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.008369, allocations: 0 / 0.8892 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008381, allocations: 4 kB / 0.8892 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.008382, allocations: 0 / 0.8892 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.008389, allocations: 15.81 kB / 0.8892 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.008462, allocations: 27.67 kB / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.008468, allocations: 4 kB / 0.8892 GB, free: 11.71 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.0001118/0.00858, allocations: 290.8 kB / 0.8895 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.008634, allocations: 160.8 kB / 0.8896 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.008679, allocations: 157.6 kB / 0.8898 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/0.008739, allocations: 268.1 kB / 0.89 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.445e-05/0.008803, allocations: 276.1 kB / 0.8903 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-05/0.008866, allocations: 276 kB / 0.8906 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.00906, allocations: 0.5083 MB / 0.8911 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/0.009095, allocations: 148.8 kB / 0.8912 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.00913, allocations: 149 kB / 0.8914 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.649e-05/0.009207, allocations: 280 kB / 0.8916 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.009272, allocations: 264.1 kB / 0.8919 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-05/0.009337, allocations: 272.1 kB / 0.8921 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.747e-05/0.009405, allocations: 272 kB / 0.8924 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.009538, allocations: 459.8 kB / 0.8928 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.009593, allocations: 168.8 kB / 0.893 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.009667, allocations: 264.1 kB / 0.8932 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.009746, allocations: 148.8 kB / 0.8934 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.009809, allocations: 268.1 kB / 0.8936 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.009848, allocations: 152.8 kB / 0.8938 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001043/0.009952, allocations: 213.1 kB / 0.894 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009952, allocations: 0 / 0.894 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002422/0.01019, allocations: 63.92 kB / 0.8941 GB, free: 6.57 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.0002587/0.01045, allocations: 330.1 kB / 0.8944 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.01056, allocations: 63.94 kB / 0.8944 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01056, allocations: 4 kB / 0.8944 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.01056, allocations: 0 / 0.8944 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.01088, allocations: 0.7082 MB / 0.8951 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.01137, allocations: 407.1 kB / 0.8955 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.01141, allocations: 79.31 kB / 0.8956 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.368e-06/0.01142, allocations: 0 / 0.8956 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.01147, allocations: 74.2 kB / 0.8957 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.01147, allocations: 3.938 kB / 0.8957 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.004183/0.01565, allocations: 2.817 MB / 0.8984 GB, free: 2.047 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.622750681824982]