Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 113.3 kB / 16.42 MB, free: 6.449 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.001265/0.001265, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.429/1.429, 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.623/2.623, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 64.27 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.008758/1.052, allocations: 5.1 MB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005563/1.057, allocations: 3.366 MB / 1.176 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/1.058, allocations: 11.94 kB / 1.176 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/1.059, allocations: 0.5107 MB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/1.061, allocations: 390.9 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/1.061, allocations: 271.3 kB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000997/1.062, allocations: 0.6464 MB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007324/1.063, allocations: 0.5327 MB / 1.178 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/1.064, allocations: 291.1 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/1.064, allocations: 299 kB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/1.064, allocations: 47.98 kB / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/1.065, allocations: 307.5 kB / 1.179 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/1.065, allocations: 167.6 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/1.065, allocations: 242.9 kB / 1.179 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/1.066, allocations: 0.8414 MB / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.066, allocations: 0 / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/1.066, allocations: 0 / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.066, allocations: 0 / 1.18 GB, free: 6.859 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00151/1.068, allocations: 0.8059 MB / 1.181 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.068, allocations: 12.03 kB / 1.181 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/1.071, allocations: 0.6908 MB / 1.181 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/1.071, allocations: 468 kB / 1.182 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/1.071, allocations: 21.03 kB / 1.182 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/1.072, allocations: 40.05 kB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.073, allocations: 0.8356 MB / 1.183 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.073, allocations: 7.938 kB / 1.183 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/1.073, allocations: 16 kB / 1.183 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/1.073, allocations: 60.58 kB / 1.183 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/1.075, allocations: 0.9194 MB / 1.184 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/1.079, allocations: 2.875 MB / 1.187 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.081, allocations: 0.5526 MB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/1.082, allocations: 312.6 kB / 1.187 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/1.082, allocations: 81.11 kB / 1.187 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.082, allocations: 42.55 kB / 1.188 GB, free: 14.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 2.575e-06/1.082, allocations: 0 / 1.188 GB, free: 14.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.01306/1.095, allocations: 3.506 MB / 1.191 GB, free: 11.21 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.095, allocations: 55.41 kB / 1.191 GB, free: 11.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/1.096, allocations: 392.5 kB / 1.191 GB, free: 10.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/1.096, allocations: 33.7 kB / 1.191 GB, free: 10.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/1.096, allocations: 232.3 kB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.096, allocations: 122.9 kB / 1.192 GB, free: 10.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/1.096, allocations: 81.67 kB / 1.192 GB, free: 10.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.096, allocations: 346.8 kB / 1.192 GB, free: 9.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009926/1.097, allocations: 388.5 kB / 1.193 GB, free: 9.543 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.098, allocations: 472.2 kB / 1.193 GB, free: 9.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/1.1, allocations: 0.8327 MB / 1.194 GB, free: 8.191 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.101, allocations: 4 kB / 1.194 GB, free: 8.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005568/1.106, allocations: 1.65 MB / 1.195 GB, free: 6.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.106, allocations: 14.69 kB / 1.195 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.106, allocations: 3.938 kB / 1.195 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/1.11, allocations: 0.8761 MB / 1.196 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/1.111, allocations: 135.8 kB / 1.196 GB, free: 5.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/1.12, allocations: 6.676 MB / 1.203 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/1.121, allocations: 107.9 kB / 1.203 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/1.121, allocations: 15.98 kB / 1.203 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001324/1.123, allocations: 0.5778 MB / 1.204 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.124, allocations: 456.9 kB / 1.204 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001954/1.126, allocations: 0.8078 MB / 1.205 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/1.126, allocations: 4 kB / 1.205 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005028/1.131, allocations: 1.641 MB / 1.206 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.131, allocations: 8 kB / 1.206 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.131, allocations: 4.188 kB / 1.206 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/1.134, allocations: 0.643 MB / 1.207 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/1.134, allocations: 127.8 kB / 1.207 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/1.142, allocations: 7.3 MB / 1.214 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/1.143, allocations: 119.8 kB / 1.214 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/1.143, allocations: 16 kB / 1.214 GB, free: 1.883 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/1.143, allocations: 196.2 kB / 1.215 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1.143, allocations: 39.75 kB / 1.215 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/1.148, allocations: 1.537 MB / 1.216 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.148, allocations: 0 / 1.216 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.148, allocations: 0 / 1.216 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/1.149, allocations: 180.8 kB / 1.216 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/1.149, allocations: 8 kB / 1.216 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/1.149, allocations: 83.86 kB / 1.216 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.15, allocations: 35.94 kB / 1.216 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003688/1.153, allocations: 1.315 MB / 1.218 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002272/1.156, allocations: 1.23 MB / 1.219 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006988/1.156, allocations: 352.2 kB / 1.219 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004266/1.157, allocations: 303.1 kB / 1.22 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of Backend: time 6.52e-07/1.157, allocations: 0 / 1.22 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004534/1.161, allocations: 2.129 MB / 1.222 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002056/1.163, allocations: 1.526 MB / 1.223 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of Templates: time 0.03615/1.2, allocations: 17.36 MB / 1.24 GB, free: 7.477 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches