Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=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_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006523/0.006523, allocations: 109.8 kB / 15.74 MB, free: 6.453 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.00142/0.00142, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3664, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003061/0.3695, allocations: 1.399 MB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3723, allocations: 1.932 MB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.3723, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3735, allocations: 399.8 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.3736, allocations: 15.91 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.3736, allocations: 0 / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.3738, allocations: 131.1 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.3739, allocations: 21.5 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.374, allocations: 43.86 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3741, allocations: 63.7 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3741, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.3746, allocations: 179.9 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.3747, allocations: 35.83 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.3748, allocations: 67.61 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.3753, allocations: 290.9 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3753, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3753, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3753, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 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.0008167/0.3761, allocations: 490.6 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3762, allocations: 15.97 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3763, allocations: 96.02 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3766, allocations: 287.4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.3767, allocations: 150.9 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.3768, allocations: 158.9 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.557e-05/0.3768, allocations: 109.1 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.3769, allocations: 79.27 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.3769, allocations: 150.6 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.093e-05/0.377, allocations: 150.6 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.3771, allocations: 158.5 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3775, allocations: 0.5054 MB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.3776, allocations: 173.1 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.3777, allocations: 84.14 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3777, allocations: 79.28 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.3778, allocations: 117.8 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3778, allocations: 0 / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001941/0.378, allocations: 45.45 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.3781, allocations: 130.7 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3784, allocations: 318.3 kB / 1.096 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3784, allocations: 29.7 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.3785, allocations: 120.4 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3785, allocations: 0 / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.3786, allocations: 61.69 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3788, allocations: 326.8 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.3788, allocations: 63.95 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.379, allocations: 117.9 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.3793, allocations: 217.8 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3793, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004821/0.3798, allocations: 233.1 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3798, allocations: 8 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3798, allocations: 0 / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3798, allocations: 7.938 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-06/0.3798, allocations: 224 / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.3799, allocations: 8 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.38, allocations: 19.69 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.38, allocations: 11.98 kB / 1.097 GB, free: 8.211 MB / 0.8575 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.0002013/0.3802, allocations: 229 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.3803, allocations: 132.6 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.3804, allocations: 109.9 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-05/0.3805, allocations: 184.3 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001392/0.3806, allocations: 184.2 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.476e-05/0.3807, allocations: 184.3 kB / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.381, allocations: 449.1 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.3811, allocations: 105 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3811, allocations: 120.8 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.475e-05/0.3812, allocations: 176.3 kB / 1.098 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.3813, allocations: 176.3 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.879e-05/0.3814, allocations: 180.2 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-05/0.3814, allocations: 180.3 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3816, allocations: 323.6 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3817, allocations: 193.8 kB / 1.099 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3818, allocations: 188.2 kB / 1.1 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.382, allocations: 101 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.3821, allocations: 188.1 kB / 1.1 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.3821, allocations: 105.3 kB / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002038/0.3823, allocations: 217.9 kB / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3823, allocations: 0 / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003982/0.3827, allocations: 64 kB / 1.1 GB, free: 4.281 MB / 0.8575 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.0003715/0.3831, allocations: 274.4 kB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3833, allocations: 99.89 kB / 1.101 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3833, allocations: 4 kB / 1.101 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.175e-06/0.3833, allocations: 3.938 kB / 1.101 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3837, allocations: 460.7 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.3844, allocations: 405.1 kB / 1.101 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3847, allocations: 0.7392 MB / 1.102 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.127e-05/0.3847, allocations: 0 / 1.102 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.3848, allocations: 11.44 kB / 1.102 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of SimCode: time 4e-07/0.3848, allocations: 4 kB / 1.102 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.006056/0.3908, allocations: 2.296 MB / 1.104 GB, free: 15.95 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches