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.001488/0.001488, allocations: 113.3 kB / 16.42 MB, free: 6.484 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.001593/0.001593, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003352/1.011, allocations: 1.406 MB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003813/1.014, allocations: 2.674 MB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/1.015, allocations: 4 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/1.017, allocations: 0.5901 MB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/1.017, allocations: 23.84 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-06/1.017, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/1.017, allocations: 151 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/1.017, allocations: 40.39 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/1.017, allocations: 55.72 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/1.018, allocations: 79.58 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/1.018, allocations: 0 / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/1.019, allocations: 471.3 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/1.019, allocations: 39.77 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/1.019, allocations: 95.42 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008585/1.02, allocations: 444 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.02, allocations: 0 / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/1.02, allocations: 3.938 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.259e-05/1.02, allocations: 4 kB / 1.214 GB, free: 7.562 MB / 0.9356 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.021, allocations: 0.5412 MB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.021, allocations: 12.03 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/1.022, allocations: 103.9 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/1.022, allocations: 306.2 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/1.022, allocations: 154.9 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/1.022, allocations: 154.9 kB / 1.215 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/1.022, allocations: 101.5 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.678e-05/1.022, allocations: 75.47 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/1.022, allocations: 162.5 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/1.023, allocations: 150.6 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/1.023, allocations: 158.5 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/1.023, allocations: 0.5289 MB / 1.216 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/1.023, allocations: 173.1 kB / 1.217 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/1.024, allocations: 80.14 kB / 1.217 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/1.024, allocations: 83.27 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/1.024, allocations: 105.8 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/1.024, allocations: 3.938 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0002393/1.024, allocations: 57.34 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.024, allocations: 51.41 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/1.025, allocations: 433.2 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.025, allocations: 25.7 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.025, allocations: 140.5 kB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/1.025, allocations: 4 kB / 1.218 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.025, allocations: 89.66 kB / 1.218 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.025, allocations: 338.8 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1.025, allocations: 100.5 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/1.025, allocations: 165.2 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/1.026, allocations: 305.6 kB / 1.219 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.026, allocations: 4 kB / 1.219 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006124/1.026, allocations: 332.8 kB / 1.219 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.026, allocations: 8 kB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.026, allocations: 0 / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.026, allocations: 7.938 kB / 1.219 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/1.026, allocations: 0 / 1.219 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.026, allocations: 8.219 kB / 1.219 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.026, allocations: 47.27 kB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.026, allocations: 4.078 kB / 1.219 GB, free: 2.348 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.0002697/1.027, allocations: 246.8 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/1.027, allocations: 120.7 kB / 1.219 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/1.027, allocations: 110.9 kB / 1.219 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.027, allocations: 196.2 kB / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001164/1.027, allocations: 105 kB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.027, allocations: 201.7 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.027, allocations: 184.2 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/1.028, allocations: 101 kB / 1.22 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/1.028, allocations: 184.2 kB / 1.22 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001001/1.028, allocations: 259.5 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001887/1.028, allocations: 402.7 kB / 1.221 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.969e-05/1.028, allocations: 105 kB / 1.221 GB, free: 56 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002866/1.028, allocations: 283 kB / 1.221 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of Backend: time 9.11e-07/1.028, allocations: 0 / 1.221 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008669/1.029, allocations: 381 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001037/1.03, allocations: 1.179 MB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.006978/1.037, allocations: 3.089 MB / 1.226 GB, free: 11.1 MB / 0.9512 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 -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