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.001024/0.001024, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001154/0.001154, allocations: 169 kB / 23.02 MB, free: 1.547 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.9529/0.9529, allocations: 177.1 MB / 203.4 MB, free: 5.648 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 1.978/1.978, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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.934e-06/1.934e-06, allocations: 0 / 0.8781 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.821e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001747/0.001766, allocations: 1.477 MB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.003364, allocations: 1.922 MB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.00339, allocations: 0 / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008175/0.004207, allocations: 380.1 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.004251, allocations: 19.84 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.004254, allocations: 0 / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.004445, allocations: 127.1 kB / 0.882 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.004488, allocations: 13.61 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.004555, allocations: 67.8 kB / 0.882 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.004645, allocations: 51.89 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.004663, allocations: 4 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.00494, allocations: 175.8 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.004982, allocations: 27.91 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.005042, allocations: 55.84 kB / 0.8823 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.00536, allocations: 282.9 kB / 0.8826 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005363, allocations: 3.938 kB / 0.8826 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005363, allocations: 0 / 0.8826 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.005368, allocations: 3.938 kB / 0.8826 GB, free: 1.727 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.0004951/0.005863, allocations: 0.5152 MB / 0.8831 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.005898, allocations: 12.03 kB / 0.8831 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.006003, allocations: 144 kB / 0.8833 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.006166, allocations: 275.1 kB / 0.8835 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.006225, allocations: 246.7 kB / 0.8838 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.006284, allocations: 242.7 kB / 0.884 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.987e-05/0.006344, allocations: 149.5 kB / 0.8841 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.006386, allocations: 119.4 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.00644, allocations: 246.5 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.006495, allocations: 238.4 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.00655, allocations: 238.4 kB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.006835, allocations: 0.6577 MB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.006923, allocations: 265.4 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.006956, allocations: 126.9 kB / 0.886 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.006982, allocations: 119.2 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.00703, allocations: 152.6 kB / 0.8862 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.00703, allocations: 4 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001097/0.00714, allocations: 53.48 kB / 0.8863 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.007195, allocations: 174.5 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.007424, allocations: 368.2 kB / 0.8868 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.007433, allocations: 25.7 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.007502, allocations: 175.2 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.007505, allocations: 4 kB / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.007566, allocations: 83.34 kB / 0.8871 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.007689, allocations: 0.5118 MB / 0.8876 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.007726, allocations: 24 kB / 0.8876 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.007799, allocations: 113.8 kB / 0.8877 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.007922, allocations: 165.7 kB / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007924, allocations: 0 / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002809/0.008205, allocations: 189.3 kB / 0.888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.008217, allocations: 8 kB / 0.888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008223, allocations: 0 / 0.888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008235, allocations: 8.219 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-06/0.00824, allocations: 7.875 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.008246, allocations: 7.984 kB / 0.8881 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.008318, allocations: 27.67 kB / 0.8881 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.008326, allocations: 4 kB / 0.8881 GB, free: 11.84 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.0001107/0.008437, allocations: 283.8 kB / 0.8884 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.008486, allocations: 160.7 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.008528, allocations: 161.7 kB / 0.8887 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/0.008584, allocations: 268 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.739e-05/0.008641, allocations: 280.1 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.008699, allocations: 264.1 kB / 0.8895 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.008903, allocations: 0.5545 MB / 0.89 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.008946, allocations: 148.9 kB / 0.8901 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.008979, allocations: 149 kB / 0.8903 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/0.009038, allocations: 272.1 kB / 0.8905 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.0091, allocations: 268.1 kB / 0.8908 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-05/0.009161, allocations: 272 kB / 0.8911 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.678e-05/0.009218, allocations: 268.1 kB / 0.8913 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.009348, allocations: 467.8 kB / 0.8918 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.009401, allocations: 164.7 kB / 0.8919 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.009471, allocations: 272.1 kB / 0.8922 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.009545, allocations: 144.9 kB / 0.8923 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.009609, allocations: 272 kB / 0.8926 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.009642, allocations: 148.9 kB / 0.8927 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001089/0.009751, allocations: 221.1 kB / 0.8929 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009751, allocations: 0 / 0.8929 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000229/0.00998, allocations: 67.92 kB / 0.893 GB, free: 6.645 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.0002441/0.01022, allocations: 314.2 kB / 0.8933 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01035, allocations: 71.94 kB / 0.8934 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01035, allocations: 0 / 0.8934 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.01035, allocations: 3.938 kB / 0.8934 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.01067, allocations: 0.7106 MB / 0.8941 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.01121, allocations: 407.1 kB / 0.8944 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.01125, allocations: 79.3 kB / 0.8945 GB, free: 5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.099e-05/0.01127, allocations: 4 kB / 0.8945 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.01128, allocations: 12.44 kB / 0.8945 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.01128, allocations: 0 / 0.8945 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of Templates: time 0.004786/0.01607, allocations: 3.242 MB / 0.8977 GB, free: 1.758 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.202110772021115]