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.001313/0.001313, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001574/0.001574, allocations: 169 kB / 23.27 MB, free: 1.223 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.9604/0.9604, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.522/2.522, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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 1.703e-06/1.703e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.403e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.004986/0.005, allocations: 1.48 MB / 0.8912 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005491/0.01049, allocations: 2.608 MB / 0.8937 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.01052, allocations: 0 / 0.8937 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.01171, allocations: 0.5668 MB / 0.8943 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.01176, allocations: 23.86 kB / 0.8943 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.025e-06/0.01176, allocations: 0 / 0.8943 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.01196, allocations: 170.8 kB / 0.8944 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.012, allocations: 8.594 kB / 0.8945 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.01209, allocations: 87.77 kB / 0.8945 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.01219, allocations: 59.78 kB / 0.8946 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.0122, allocations: 4 kB / 0.8946 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.01288, allocations: 407.4 kB / 0.895 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.01293, allocations: 35.84 kB / 0.895 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.01325, allocations: 59.86 kB / 0.8951 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.01673, allocations: 430.1 kB / 0.8955 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01674, allocations: 3.938 kB / 0.8955 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.51e-07/0.01674, allocations: 0 / 0.8955 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.01674, allocations: 8 kB / 0.8955 GB, free: 3.852 MB / 0.8542 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.0005338/0.01727, allocations: 0.5889 MB / 0.8961 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.01731, allocations: 12.03 kB / 0.8961 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.01743, allocations: 147.9 kB / 0.8962 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.01758, allocations: 282.5 kB / 0.8965 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.01763, allocations: 242.7 kB / 0.8967 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.01769, allocations: 250.7 kB / 0.897 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.172e-05/0.01774, allocations: 145.5 kB / 0.8971 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.01777, allocations: 127.4 kB / 0.8972 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.01783, allocations: 242.8 kB / 0.8975 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.01789, allocations: 238.8 kB / 0.8977 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.584e-05/0.01794, allocations: 242.3 kB / 0.8979 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.01823, allocations: 0.6386 MB / 0.8985 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.01831, allocations: 273.4 kB / 0.8988 GB, free: 356 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.01834, allocations: 126.9 kB / 0.8989 GB, free: 224 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.01837, allocations: 123.2 kB / 0.899 GB, free: 100 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.01843, allocations: 152.6 kB / 0.8992 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.01843, allocations: 3.938 kB / 0.8992 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001329/0.01856, allocations: 57.45 kB / 0.8992 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.01861, allocations: 174.6 kB / 0.8994 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.01893, allocations: 482.2 kB / 0.8999 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.01894, allocations: 25.7 kB / 0.8999 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.01903, allocations: 199.3 kB / 0.9001 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.01903, allocations: 0 / 0.9001 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.01914, allocations: 127.2 kB / 0.9002 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01928, allocations: 0.5273 MB / 0.9007 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.01932, allocations: 32.64 kB / 0.9008 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.02242, allocations: 137.7 kB / 0.9009 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.02256, allocations: 209.5 kB / 0.9011 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02256, allocations: 4 kB / 0.9011 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002664/0.02282, allocations: 245.1 kB / 0.9013 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.02284, allocations: 7.984 kB / 0.9013 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02284, allocations: 0 / 0.9013 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.02286, allocations: 4 kB / 0.9013 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.477e-06/0.02286, allocations: 0 / 0.9013 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.02286, allocations: 4 kB / 0.9013 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.02294, allocations: 43.52 kB / 0.9014 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.02295, allocations: 7.938 kB / 0.9014 GB, free: 13.55 MB / 0.8698 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.0001097/0.02306, allocations: 291.9 kB / 0.9017 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.02311, allocations: 168.7 kB / 0.9018 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.02316, allocations: 154.8 kB / 0.902 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003654/0.02352, allocations: 268 kB / 0.9022 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.582e-05/0.02358, allocations: 268.1 kB / 0.9025 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/0.02363, allocations: 272 kB / 0.9027 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.02383, allocations: 0.5316 MB / 0.9033 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/0.02386, allocations: 148.9 kB / 0.9034 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.02389, allocations: 148.8 kB / 0.9035 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.944e-05/0.02395, allocations: 268.1 kB / 0.9038 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.02402, allocations: 276 kB / 0.9041 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.258e-05/0.02408, allocations: 268.1 kB / 0.9043 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.848e-05/0.02414, allocations: 264.3 kB / 0.9046 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.02428, allocations: 475.7 kB / 0.905 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.02434, allocations: 172.7 kB / 0.9052 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.02442, allocations: 268 kB / 0.9054 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.0245, allocations: 152.9 kB / 0.9056 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.02456, allocations: 272 kB / 0.9059 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.02459, allocations: 148.9 kB / 0.906 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001173/0.02471, allocations: 259 kB / 0.9062 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02471, allocations: 0 / 0.9062 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002368/0.02494, allocations: 87.88 kB / 0.9063 GB, free: 8.301 MB / 0.8698 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.0002728/0.02522, allocations: 366.1 kB / 0.9067 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.02592, allocations: 100.8 kB / 0.9068 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.02592, allocations: 0 / 0.9068 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.02592, allocations: 0 / 0.9068 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.02624, allocations: 0.7154 MB / 0.9075 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.0268, allocations: 499.4 kB / 0.9079 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.02685, allocations: 95.28 kB / 0.908 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.338e-06/0.02686, allocations: 4 kB / 0.908 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.02691, allocations: 74.2 kB / 0.9081 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/0.02691, allocations: 0 / 0.9081 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of Templates: time 0.006125/0.03303, allocations: 4.382 MB / 0.9124 GB, free: 2.027 MB / 0.8698 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.634524052962661]