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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 58.34 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3432, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003026/0.3463, allocations: 1.426 MB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.3504, allocations: 2.662 MB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.3505, allocations: 4 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3527, allocations: 0.5781 MB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.3528, allocations: 27.84 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.972e-06/0.3528, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.3531, allocations: 154.9 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3533, allocations: 36.41 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.3534, allocations: 59.66 kB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.3535, allocations: 79.53 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3536, allocations: 4 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3549, allocations: 471.3 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.355, allocations: 35.84 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.3552, allocations: 103.3 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.3561, allocations: 434.2 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3561, allocations: 0 / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3561, allocations: 3.984 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3561, allocations: 0 / 1.033 GB, free: 11.99 MB / 0.8106 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.000955/0.3571, allocations: 0.5568 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3571, allocations: 8.031 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.3573, allocations: 103.9 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3576, allocations: 298.4 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3578, allocations: 154.9 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3579, allocations: 158.9 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.581e-05/0.358, allocations: 105.5 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.358, allocations: 79.41 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.3581, allocations: 158.4 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.75e-05/0.3582, allocations: 150.6 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.3582, allocations: 150.6 kB / 1.034 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.3587, allocations: 0.5405 MB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.714e-05/0.3588, allocations: 165.1 kB / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3588, allocations: 80.14 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3589, allocations: 79.22 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.3589, allocations: 113.8 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3589, allocations: 0 / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0002292/0.3591, allocations: 61.34 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3592, allocations: 126.7 kB / 1.036 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.3597, allocations: 433.2 kB / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3597, allocations: 25.7 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.3598, allocations: 132.5 kB / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.3598, allocations: 7.938 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.3599, allocations: 93.66 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3601, allocations: 338.8 kB / 1.037 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3602, allocations: 96.5 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3604, allocations: 165.3 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.3607, allocations: 305.6 kB / 1.037 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3607, allocations: 0 / 1.037 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005925/0.3613, allocations: 328.9 kB / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3613, allocations: 4 kB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3614, allocations: 7.938 kB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3614, allocations: 0 / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-06/0.3614, allocations: 4 kB / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3614, allocations: 224 / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3615, allocations: 51.28 kB / 1.038 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3616, allocations: 7.984 kB / 1.038 GB, free: 6.707 MB / 0.8106 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.0002775/0.3618, allocations: 252.9 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.3619, allocations: 120.7 kB / 1.038 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.362, allocations: 118.8 kB / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001231/0.3621, allocations: 184.2 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.33e-05/0.3622, allocations: 176.3 kB / 1.038 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.518e-05/0.3623, allocations: 188.2 kB / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.3626, allocations: 477.1 kB / 1.039 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.376e-05/0.3627, allocations: 108.9 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.3627, allocations: 105 kB / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.777e-05/0.3628, allocations: 180.3 kB / 1.039 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.3629, allocations: 188.1 kB / 1.04 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.006e-05/0.363, allocations: 180.5 kB / 1.04 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-05/0.363, allocations: 180.2 kB / 1.04 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3632, allocations: 331.4 kB / 1.04 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3633, allocations: 201.8 kB / 1.04 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3634, allocations: 180.2 kB / 1.041 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3636, allocations: 112.9 kB / 1.041 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.3637, allocations: 180.3 kB / 1.041 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.3638, allocations: 104.9 kB / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003161/0.3641, allocations: 283.1 kB / 1.041 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3641, allocations: 0 / 1.041 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003995/0.3646, allocations: 80 kB / 1.041 GB, free: 2.633 MB / 0.8106 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.0004159/0.365, allocations: 310.3 kB / 1.042 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3652, allocations: 163.9 kB / 1.042 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3653, allocations: 0 / 1.042 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3653, allocations: 0 / 1.042 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3657, allocations: 473.6 kB / 1.042 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.3663, allocations: 0.491 MB / 1.043 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3667, allocations: 0.7782 MB / 1.043 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.3668, allocations: 4 kB / 1.043 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.3668, allocations: 7.438 kB / 1.043 GB, free: 372 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3668, allocations: 0 / 1.043 GB, free: 372 kB / 0.8106 GB Notification: Performance of Templates: time 0.006791/0.3736, allocations: 3.066 MB / 1.046 GB, free: 13.31 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches