Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.001149/0.001149, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.394/2.394, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9766/0.9786, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00524/0.9838, allocations: 2.887 MB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.987, allocations: 1.81 MB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.9872, allocations: 3.25 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008805/0.9882, allocations: 246.8 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.9888, allocations: 199.8 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.9895, allocations: 234.8 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.9899, allocations: 310.6 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.9902, allocations: 171.7 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.9904, allocations: 127.1 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.9907, allocations: 150.6 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.9908, allocations: 20.34 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005644/0.9914, allocations: 283.4 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.9915, allocations: 84.91 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.9916, allocations: 115.9 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.9922, allocations: 432.8 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9922, allocations: 0 / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9922, allocations: 0.9062 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.9923, allocations: 4 kB / 1.095 GB, free: 1.293 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00081/0.9931, allocations: 0.5421 MB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.9931, allocations: 9.094 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/0.9941, allocations: 117.4 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.9944, allocations: 269.3 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.9944, allocations: 13 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.9944, allocations: 24.2 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.9951, allocations: 395.5 kB / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.9952, allocations: 0.7812 kB / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.9952, allocations: 6.844 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.9953, allocations: 30.06 kB / 1.097 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.996, allocations: 340.6 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.9979, allocations: 1.725 MB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.9987, allocations: 335.6 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.999, allocations: 154.5 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.9991, allocations: 86.3 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.9992, allocations: 41.66 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.9992, allocations: 0 / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0014/1.001, allocations: 0.5956 MB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.001, allocations: 81.3 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/1.001, allocations: 213 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.001, allocations: 31.2 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/1.001, allocations: 160.6 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/1.001, allocations: 75.06 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/1.001, allocations: 59.58 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.001, allocations: 329.9 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/1.002, allocations: 142.3 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/1.002, allocations: 221.8 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/1.003, allocations: 376.6 kB / 1.102 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.003, allocations: 1.344 kB / 1.102 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000933/1.004, allocations: 434.3 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.004, allocations: 7.75 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.004, allocations: 6.156 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/1.004, allocations: 48.08 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/1.004, allocations: 70.75 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/1.006, allocations: 1.617 MB / 1.104 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/1.006, allocations: 38.67 kB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/1.006, allocations: 15.11 kB / 1.104 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003825/1.006, allocations: 244 kB / 1.104 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003386/1.007, allocations: 207.3 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006852/1.008, allocations: 353.9 kB / 1.105 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/1.008, allocations: 1.062 kB / 1.105 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009141/1.008, allocations: 426.7 kB / 1.105 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/1.008, allocations: 5.719 kB / 1.105 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.008, allocations: 7.688 kB / 1.105 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/1.009, allocations: 40.7 kB / 1.105 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/1.009, allocations: 71.06 kB / 1.105 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/1.01, allocations: 1.613 MB / 1.107 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/1.011, allocations: 43.66 kB / 1.107 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/1.011, allocations: 10.59 kB / 1.107 GB, free: 8.867 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.011, allocations: 194.2 kB / 1.107 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/1.011, allocations: 17.81 kB / 1.107 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/1.012, allocations: 367.2 kB / 1.107 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.012, allocations: 2.625 kB / 1.107 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/1.012, allocations: 0 / 1.107 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/1.012, allocations: 125.2 kB / 1.107 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/1.012, allocations: 2.016 kB / 1.107 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/1.012, allocations: 30.94 kB / 1.107 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/1.012, allocations: 22.19 kB / 1.107 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008469/1.013, allocations: 0.4933 MB / 1.108 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009195/1.014, allocations: 0.6927 MB / 1.109 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002465/1.014, allocations: 129.7 kB / 1.109 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001963/1.014, allocations: 162.7 kB / 1.109 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of Backend: time 1.894e-06/1.014, allocations: 0 / 1.109 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002009/1.016, allocations: 0.8527 MB / 1.11 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009488/1.017, allocations: 0.896 MB / 1.111 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.01274/1.03, allocations: 6.267 MB / 1.117 GB, free: 5.848 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches