Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.1 MB / 0.7177 GB, free: 4.676 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_10_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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 151.6 MB / 1.176 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00299/0.3395, allocations: 1.399 MB / 1.177 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3423, allocations: 1.937 MB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3424, allocations: 0 / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.3437, allocations: 385.9 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.3438, allocations: 15.86 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.153e-06/0.3438, allocations: 4 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.3441, allocations: 123.1 kB / 1.18 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.3442, allocations: 25.5 kB / 1.18 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.3443, allocations: 39.84 kB / 1.18 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3444, allocations: 59.72 kB / 1.18 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3444, allocations: 0 / 1.18 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.3451, allocations: 191.9 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.3452, allocations: 31.84 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.956e-05/0.3453, allocations: 67.61 kB / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.3459, allocations: 290.7 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3459, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3459, allocations: 4 kB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.3459, allocations: 0 / 1.18 GB, free: 1.422 MB / 0.92 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.000853/0.3468, allocations: 0.4905 MB / 1.181 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3468, allocations: 15.98 kB / 1.181 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.347, allocations: 96.12 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3473, allocations: 291.3 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.3474, allocations: 158.9 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.3475, allocations: 150.9 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.469e-05/0.3476, allocations: 109.1 kB / 1.182 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/0.3477, allocations: 75.28 kB / 1.182 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.3477, allocations: 158.5 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.881e-05/0.3478, allocations: 158.5 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.3479, allocations: 150.6 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.3484, allocations: 0.5017 MB / 1.183 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3485, allocations: 165.1 kB / 1.183 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.3486, allocations: 84.14 kB / 1.183 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.3486, allocations: 79.28 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/0.3487, allocations: 117.7 kB / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3487, allocations: 0 / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001929/0.3489, allocations: 49.55 kB / 1.183 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.349, allocations: 130.7 kB / 1.183 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.3494, allocations: 326.3 kB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3494, allocations: 33.64 kB / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.3495, allocations: 116.5 kB / 1.184 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.3495, allocations: 0 / 1.184 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.3496, allocations: 61.69 kB / 1.184 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.3499, allocations: 330.8 kB / 1.184 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.35, allocations: 63.89 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3501, allocations: 129.5 kB / 1.184 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.3504, allocations: 201.9 kB / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3504, allocations: 0 / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004639/0.3509, allocations: 241.2 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3509, allocations: 8 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3509, allocations: 0 / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.351, allocations: 4.219 kB / 1.185 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-06/0.351, allocations: 7.984 kB / 1.185 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.351, allocations: 4 kB / 1.185 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3511, allocations: 27.73 kB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3511, allocations: 4 kB / 1.185 GB, free: 12.68 MB / 0.9356 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.0002501/0.3514, allocations: 232.5 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.3515, allocations: 116.8 kB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.3516, allocations: 113.9 kB / 1.185 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.323e-05/0.3517, allocations: 192.2 kB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.147e-05/0.3518, allocations: 176.3 kB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.14e-05/0.3518, allocations: 184.2 kB / 1.186 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.3522, allocations: 449.2 kB / 1.186 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000106/0.3523, allocations: 104.9 kB / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.3524, allocations: 116.9 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.3525, allocations: 180.2 kB / 1.186 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/0.3526, allocations: 180.2 kB / 1.187 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.588e-05/0.3527, allocations: 184.3 kB / 1.187 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.753e-05/0.3528, allocations: 184.2 kB / 1.187 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.353, allocations: 319.6 kB / 1.187 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3532, allocations: 209.8 kB / 1.187 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3533, allocations: 180.5 kB / 1.188 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3534, allocations: 101 kB / 1.188 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3536, allocations: 184.2 kB / 1.188 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.3536, allocations: 109 kB / 1.188 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002381/0.3539, allocations: 213.9 kB / 1.188 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3539, allocations: 0 / 1.188 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004513/0.3543, allocations: 71.86 kB / 1.188 GB, free: 8.738 MB / 0.9356 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.0003923/0.3547, allocations: 274.3 kB / 1.189 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.3549, allocations: 103.8 kB / 1.189 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.355, allocations: 4 kB / 1.189 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.355, allocations: 0 / 1.189 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.3554, allocations: 466.6 kB / 1.189 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.3561, allocations: 418.6 kB / 1.189 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3565, allocations: 0.7392 MB / 1.19 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.3565, allocations: 11.44 kB / 1.19 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of SimCode: time 2.515e-06/0.3566, allocations: 4 kB / 1.19 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.005497/0.3621, allocations: 2.335 MB / 1.192 GB, free: 4.344 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.40557587693911]