Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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_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_10_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_10_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.001859/0.001859, allocations: 116.5 kB / 16.42 MB, free: 6.48 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.002236/0.002236, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 64.11 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.134, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003037/1.137, allocations: 1.421 MB / 1.169 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003439/1.14, allocations: 2.67 MB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/1.14, allocations: 3.938 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.142, allocations: 0.5843 MB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/1.142, allocations: 19.91 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.042e-06/1.142, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/1.142, allocations: 162.9 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/1.142, allocations: 28.41 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/1.142, allocations: 67.72 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/1.143, allocations: 75.59 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/1.143, allocations: 4 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/1.144, allocations: 471.2 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/1.144, allocations: 35.78 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/1.144, allocations: 95.42 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007547/1.145, allocations: 444 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.145, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/1.145, allocations: 3.938 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.145, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 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.00108/1.146, allocations: 0.5412 MB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.146, allocations: 16.88 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/1.146, allocations: 99.94 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/1.146, allocations: 314.2 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/1.147, allocations: 150.9 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/1.147, allocations: 158.9 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/1.147, allocations: 101.5 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/1.147, allocations: 79.47 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/1.147, allocations: 154.5 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/1.147, allocations: 150.6 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/1.147, allocations: 150.6 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/1.148, allocations: 0.5405 MB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.148, allocations: 169.1 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/1.148, allocations: 80.14 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/1.148, allocations: 75.28 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/1.148, allocations: 109.8 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.148, allocations: 0 / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0002188/1.148, allocations: 69.28 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.148, allocations: 51.41 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/1.149, allocations: 429.2 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.149, allocations: 29.7 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/1.149, allocations: 132.5 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/1.149, allocations: 0 / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.149, allocations: 93.66 kB / 1.177 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.149, allocations: 338.8 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/1.149, allocations: 100.5 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.15, allocations: 161.3 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/1.15, allocations: 305.6 kB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.15, allocations: 4 kB / 1.178 GB, free: 9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005172/1.15, allocations: 332.9 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.15, allocations: 4 kB / 1.178 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.15, allocations: 7.938 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.151, allocations: 3.938 kB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-06/1.151, allocations: 4 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.151, allocations: 0 / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/1.151, allocations: 47.28 kB / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/1.151, allocations: 7.984 kB / 1.178 GB, free: 8.594 MB / 0.9044 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.000273/1.151, allocations: 241.3 kB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/1.151, allocations: 124.6 kB / 1.178 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/1.151, allocations: 126.9 kB / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-05/1.151, allocations: 184.2 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/1.151, allocations: 101 kB / 1.179 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.151, allocations: 201.7 kB / 1.179 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.152, allocations: 192.2 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/1.152, allocations: 105 kB / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/1.152, allocations: 180.2 kB / 1.179 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.701e-05/1.152, allocations: 251.5 kB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002068/1.152, allocations: 414.7 kB / 1.18 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.794e-05/1.152, allocations: 101 kB / 1.18 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002593/1.152, allocations: 275.1 kB / 1.18 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of Backend: time 2.71e-07/1.152, allocations: 0 / 1.18 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000849/1.153, allocations: 382.2 kB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001009/1.154, allocations: 1.183 MB / 1.182 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of Templates: time 0.006832/1.161, allocations: 3.084 MB / 1.185 GB, free: 1.336 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches