Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001098/0.001098, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001329/0.001329, allocations: 173 kB / 23.49 MB, free: 1.055 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.9406/0.9406, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.083/2.083, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8782 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.103e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002744/0.002775, allocations: 1.485 MB / 0.8796 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.005403, allocations: 2.621 MB / 0.8822 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.005435, allocations: 4 kB / 0.8822 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.00667, allocations: 0.5516 MB / 0.8827 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.006727, allocations: 27.78 kB / 0.8827 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.091e-06/0.006733, allocations: 3.531 kB / 0.8827 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.007052, allocations: 162.8 kB / 0.8829 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.894e-05/0.007121, allocations: 8.594 kB / 0.8829 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.00723, allocations: 95.7 kB / 0.883 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.007348, allocations: 55.83 kB / 0.883 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.007364, allocations: 4 kB / 0.8831 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.008021, allocations: 406.2 kB / 0.8834 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.008076, allocations: 31.84 kB / 0.8835 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.008155, allocations: 67.8 kB / 0.8835 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.008618, allocations: 430.2 kB / 0.8839 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008622, allocations: 0 / 0.8839 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/0.008624, allocations: 0 / 0.8839 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.008631, allocations: 0 / 0.8839 GB, free: 0.7812 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.0006548/0.009285, allocations: 0.5889 MB / 0.8845 GB, free: 156 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.009332, allocations: 12.03 kB / 0.8845 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.009474, allocations: 147.9 kB / 0.8847 GB, free: 16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.009693, allocations: 286.5 kB / 0.8849 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.009767, allocations: 250.8 kB / 0.8852 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.009847, allocations: 246.7 kB / 0.8854 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.018e-05/0.009917, allocations: 145.5 kB / 0.8856 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.00995, allocations: 123.3 kB / 0.8857 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.01001, allocations: 238.8 kB / 0.8859 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/0.01008, allocations: 238.8 kB / 0.8861 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.01015, allocations: 250.3 kB / 0.8864 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.01052, allocations: 0.6927 MB / 0.887 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.01063, allocations: 269.4 kB / 0.8873 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.01067, allocations: 126.9 kB / 0.8874 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.01071, allocations: 119.2 kB / 0.8875 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.01076, allocations: 164.6 kB / 0.8877 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.01076, allocations: 3.984 kB / 0.8877 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001374/0.0109, allocations: 49.56 kB / 0.8877 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.01097, allocations: 178.5 kB / 0.8879 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.01131, allocations: 482.4 kB / 0.8884 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.01133, allocations: 25.7 kB / 0.8884 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01143, allocations: 203.3 kB / 0.8886 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.01143, allocations: 0 / 0.8886 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.01152, allocations: 119.3 kB / 0.8887 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.01168, allocations: 0.5235 MB / 0.8892 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.01173, allocations: 52.64 kB / 0.8893 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.01184, allocations: 137.7 kB / 0.8894 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.01202, allocations: 237.5 kB / 0.8896 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01202, allocations: 0 / 0.8896 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003664/0.01239, allocations: 269.1 kB / 0.8899 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01241, allocations: 8 kB / 0.8899 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.01242, allocations: 0 / 0.8899 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01243, allocations: 4 kB / 0.8899 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.01243, allocations: 0 / 0.8899 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01244, allocations: 4 kB / 0.8899 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.01253, allocations: 51.67 kB / 0.8899 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.01254, allocations: 8 kB / 0.89 GB, free: 10.35 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.000134/0.01267, allocations: 287.8 kB / 0.8902 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.01274, allocations: 172.6 kB / 0.8904 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.0128, allocations: 154.8 kB / 0.8905 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.835e-05/0.01286, allocations: 276 kB / 0.8908 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-05/0.01293, allocations: 264.1 kB / 0.8911 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.516e-05/0.01299, allocations: 268 kB / 0.8913 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01325, allocations: 0.5896 MB / 0.8919 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.01329, allocations: 148.9 kB / 0.892 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.01333, allocations: 156.8 kB / 0.8922 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-05/0.0134, allocations: 264.1 kB / 0.8924 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/0.01348, allocations: 268.1 kB / 0.8927 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.693e-05/0.01356, allocations: 268 kB / 0.8929 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.526e-05/0.01363, allocations: 264.1 kB / 0.8932 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.0138, allocations: 475.7 kB / 0.8936 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.01386, allocations: 164.8 kB / 0.8938 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.01396, allocations: 276 kB / 0.8941 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01406, allocations: 149.2 kB / 0.8942 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.01416, allocations: 272 kB / 0.8945 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.01421, allocations: 152.9 kB / 0.8946 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001761/0.01439, allocations: 267.1 kB / 0.8949 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 0 / 0.8949 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000319/0.01471, allocations: 87.86 kB / 0.895 GB, free: 5.031 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.0004161/0.01512, allocations: 346.2 kB / 0.8953 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.01533, allocations: 116.8 kB / 0.8954 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01533, allocations: 0 / 0.8954 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.01534, allocations: 4 kB / 0.8954 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.01571, allocations: 0.7099 MB / 0.8961 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.01642, allocations: 497.5 kB / 0.8966 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.21e-05/0.01648, allocations: 99.28 kB / 0.8967 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.384e-05/0.0165, allocations: 3.984 kB / 0.8967 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.01652, allocations: 12.5 kB / 0.8967 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.01652, allocations: 0 / 0.8967 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.00557/0.02209, allocations: 3.064 MB / 0.8997 GB, free: 172 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.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.783036994049326]