Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008939/0.008939, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.001882/0.001882, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3/3, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3694, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01789/0.3873, allocations: 14.83 MB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.4039, allocations: 10.37 MB / 1.245 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.4056, allocations: 59.62 kB / 1.245 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004904/0.4105, allocations: 1.7 MB / 1.247 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.4165, allocations: 1.857 MB / 1.249 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.4188, allocations: 0.7523 MB / 1.249 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.795/1.214, allocations: 2.739 MB / 1.252 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/1.216, allocations: 1.131 MB / 1.253 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/1.219, allocations: 1.532 MB / 1.255 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/1.221, allocations: 1.165 MB / 1.256 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000293/1.222, allocations: 161.8 kB / 1.256 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/1.223, allocations: 0.779 MB / 1.257 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/1.224, allocations: 0.6306 MB / 1.257 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/1.225, allocations: 0.9497 MB / 1.258 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004209/1.229, allocations: 2.775 MB / 1.261 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.229, allocations: 0 / 1.261 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.229, allocations: 0 / 1.261 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.468e-05/1.229, allocations: 0 / 1.261 GB, free: 8.258 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004611/1.234, allocations: 2.23 MB / 1.263 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.234, allocations: 9.562 kB / 1.263 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/1.246, allocations: 2.118 MB / 1.265 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/1.249, allocations: 1.315 MB / 1.267 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/1.25, allocations: 88.42 kB / 1.267 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/1.25, allocations: 120.6 kB / 1.267 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007429/1.257, allocations: 2.672 MB / 1.269 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.024e-05/1.258, allocations: 11.02 kB / 1.269 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/1.258, allocations: 55.98 kB / 1.269 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006735/1.258, allocations: 191.4 kB / 1.27 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007909/1.266, allocations: 2.793 MB / 1.272 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/1.285, allocations: 10.48 MB / 1.283 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006862/1.292, allocations: 2.262 MB / 1.285 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/1.295, allocations: 1.202 MB / 1.286 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/1.295, allocations: 10.23 kB / 1.286 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.295, allocations: 44.03 kB / 1.286 GB, free: 124 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.607e-06/1.295, allocations: 0 / 1.286 GB, free: 124 kB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06549/1.361, allocations: 16.48 MB / 1.302 GB, free: 12.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/1.361, allocations: 68.25 kB / 1.302 GB, free: 12.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.364, allocations: 1.174 MB / 1.303 GB, free: 11.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004163/1.364, allocations: 55.3 kB / 1.303 GB, free: 11.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/1.365, allocations: 0.7612 MB / 1.304 GB, free: 11.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008877/1.366, allocations: 0.5366 MB / 1.305 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009734/1.367, allocations: 296.5 kB / 1.305 GB, free: 10.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.367, allocations: 306.2 kB / 1.305 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/1.37, allocations: 1.503 MB / 1.307 GB, free: 9.582 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/1.374, allocations: 1.788 MB / 1.308 GB, free: 8.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/1.382, allocations: 3.369 MB / 1.312 GB, free: 6.574 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.382, allocations: 2.562 kB / 1.312 GB, free: 6.574 MB / 1.014 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01512/1.397, allocations: 5.208 MB / 1.317 GB, free: 3.816 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.397, allocations: 7.688 kB / 1.317 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/1.397, allocations: 8.781 kB / 1.317 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007793/1.405, allocations: 1.884 MB / 1.319 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.407, allocations: 416.3 kB / 1.319 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03361/1.441, allocations: 24.16 MB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/1.444, allocations: 302.8 kB / 1.343 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/1.445, allocations: 72.64 kB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001497/1.446, allocations: 461.4 kB / 1.343 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/1.447, allocations: 183.5 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.461, allocations: 5.259 MB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.461, allocations: 19 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.53e-05/1.461, allocations: 16.41 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/1.461, allocations: 7.969 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/1.481, allocations: 7.354 MB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.481, allocations: 4.062 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.482, allocations: 350.3 kB / 1.356 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006663/1.489, allocations: 1.71 MB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/1.489, allocations: 39.97 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03116/1.52, allocations: 23.33 MB / 1.381 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.52, allocations: 4.062 kB / 1.381 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.534, allocations: 4.831 MB / 1.386 GB, free: 5.496 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.536, allocations: 499.7 kB / 1.386 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/1.538, allocations: 31.98 kB / 1.386 GB, free: 4.957 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.541, allocations: 315.5 kB / 1.386 GB, free: 4.648 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009939/1.542, allocations: 148.6 kB / 1.387 GB, free: 4.504 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003693/1.542, allocations: 59.91 kB / 1.387 GB, free: 4.445 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002289/1.544, allocations: 0.7899 MB / 1.387 GB, free: 3.656 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.544, allocations: 0 / 1.387 GB, free: 3.656 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004701/1.549, allocations: 0.6562 MB / 1.388 GB, free: 3 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006048/1.55, allocations: 150.1 kB / 1.388 GB, free: 2.855 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.562, allocations: 4.913 MB / 1.393 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.562, allocations: 4 kB / 1.393 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007953/1.57, allocations: 3.26 MB / 1.396 GB, free: 10.48 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/1.574, allocations: 0.5711 MB / 1.397 GB, free: 9.941 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.586, allocations: 4.342 MB / 1.401 GB, free: 5.574 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/1.587, allocations: 1.564 MB / 1.402 GB, free: 3.973 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001928/1.589, allocations: 387.6 kB / 1.403 GB, free: 3.59 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/1.59, allocations: 111.4 kB / 1.403 GB, free: 3.48 MB / 1.092 GB Notification: Performance of SimCode: time 1.452e-06/1.59, allocations: 0 / 1.403 GB, free: 3.48 MB / 1.092 GB Notification: Performance of Templates: time 0.08084/1.671, allocations: 45.62 MB / 1.447 GB, free: 6.422 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches