Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001058/0.001058, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001351/0.001351, allocations: 169 kB / 24.28 MB, free: 276 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.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.732/1.732, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.662e-05, allocations: 3.484 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002337/0.002363, allocations: 1.474 MB / 0.7885 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.005323, allocations: 2.627 MB / 0.7911 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.00536, allocations: 0 / 0.7911 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.006855, allocations: 0.5555 MB / 0.7916 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.006909, allocations: 23.91 kB / 0.7916 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.087e-06/0.006913, allocations: 0 / 0.7916 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.007169, allocations: 174.8 kB / 0.7918 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.00722, allocations: 8.594 kB / 0.7918 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.007316, allocations: 80.52 kB / 0.7919 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.007432, allocations: 64.36 kB / 0.7919 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.007446, allocations: 0 / 0.7919 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007798/0.008226, allocations: 410.9 kB / 0.7923 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.008286, allocations: 40.94 kB / 0.7924 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.008373, allocations: 59.86 kB / 0.7924 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.00894, allocations: 434.1 kB / 0.7928 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.008943, allocations: 1.375 kB / 0.7928 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.243e-06/0.008944, allocations: 0 / 0.7928 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.00895, allocations: 0 / 0.7928 GB, free: 6.922 MB / 0.7448 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.0006787/0.009628, allocations: 0.5906 MB / 0.7934 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.009666, allocations: 8.031 kB / 0.7934 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.009821, allocations: 152 kB / 0.7936 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.01002, allocations: 291.4 kB / 0.7939 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.01008, allocations: 238.8 kB / 0.7941 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.01016, allocations: 246.8 kB / 0.7943 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.925e-05/0.01022, allocations: 147 kB / 0.7945 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.01026, allocations: 119.4 kB / 0.7946 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.01032, allocations: 242.7 kB / 0.7948 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/0.01038, allocations: 242.8 kB / 0.795 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.989e-05/0.01044, allocations: 243.3 kB / 0.7953 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.01082, allocations: 0.6889 MB / 0.7959 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.01092, allocations: 272.8 kB / 0.7962 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.01095, allocations: 126.9 kB / 0.7963 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.01099, allocations: 127.1 kB / 0.7964 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.01103, allocations: 152.6 kB / 0.7966 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.01103, allocations: 0 / 0.7966 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001688/0.0112, allocations: 57.5 kB / 0.7966 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.01126, allocations: 170.6 kB / 0.7968 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.01166, allocations: 482.4 kB / 0.7973 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.01168, allocations: 25.7 kB / 0.7973 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01178, allocations: 203.8 kB / 0.7975 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.01178, allocations: 5.875 kB / 0.7975 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.0119, allocations: 127.3 kB / 0.7976 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01206, allocations: 0.5235 MB / 0.7981 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.01212, allocations: 40.66 kB / 0.7982 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.01224, allocations: 141.7 kB / 0.7983 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.01245, allocations: 229.5 kB / 0.7985 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01246, allocations: 2.312 kB / 0.7985 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004434/0.0129, allocations: 277 kB / 0.7988 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01292, allocations: 4 kB / 0.7988 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01292, allocations: 0 / 0.7988 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01294, allocations: 4 kB / 0.7988 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.806e-06/0.01294, allocations: 4.906 kB / 0.7988 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01295, allocations: 3.938 kB / 0.7988 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.01308, allocations: 51.44 kB / 0.7988 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.01309, allocations: 4.844 kB / 0.7988 GB, free: 0.5078 MB / 0.7448 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.0001276/0.01322, allocations: 285 kB / 0.7991 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.01329, allocations: 164.8 kB / 0.7993 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.01336, allocations: 158.7 kB / 0.7994 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/0.01342, allocations: 268.8 kB / 0.7997 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-05/0.01349, allocations: 274.8 kB / 0.7999 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.237e-05/0.01355, allocations: 276 kB / 0.8002 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.01385, allocations: 0.5819 MB / 0.8008 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/0.01388, allocations: 152.8 kB / 0.8009 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.01392, allocations: 144.9 kB / 0.8011 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.901e-05/0.01402, allocations: 272 kB / 0.8013 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.01408, allocations: 268.1 kB / 0.8016 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-05/0.01414, allocations: 268.1 kB / 0.8018 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-05/0.0142, allocations: 270.4 kB / 0.8021 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.01435, allocations: 467.7 kB / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.01442, allocations: 176.7 kB / 0.8027 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.0145, allocations: 276 kB / 0.803 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.01468, allocations: 145.2 kB / 0.8031 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.01474, allocations: 264.1 kB / 0.8034 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.01478, allocations: 161.8 kB / 0.8035 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002005/0.01498, allocations: 259.1 kB / 0.8038 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01498, allocations: 0 / 0.8038 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003905/0.01537, allocations: 92.92 kB / 0.8038 GB, free: 11.2 MB / 0.7605 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.0003646/0.01574, allocations: 354.2 kB / 0.8042 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.01592, allocations: 108.9 kB / 0.8043 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01592, allocations: 0 / 0.8043 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.01592, allocations: 3.938 kB / 0.8043 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.01634, allocations: 0.7193 MB / 0.805 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.01708, allocations: 494.9 kB / 0.8055 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.01715, allocations: 99.28 kB / 0.8056 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.036e-05/0.01716, allocations: 0.6875 kB / 0.8056 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.01718, allocations: 16.5 kB / 0.8056 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of SimCode: time 1.293e-06/0.01718, allocations: 0 / 0.8056 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of Templates: time 0.006219/0.0234, allocations: 3.055 MB / 0.8086 GB, free: 6.336 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.045197709929198]