Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 16.41 MB, free: 6.027 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.001145/0.001145, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.18 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.525/2.525, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8457, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007677/0.8534, allocations: 6.096 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00509/0.8585, allocations: 3.145 MB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.8591, allocations: 27.81 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.8617, allocations: 0.9281 MB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.8631, allocations: 497.5 kB / 1.178 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.8644, allocations: 488.2 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.8658, allocations: 1.1 MB / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.8669, allocations: 0.6385 MB / 1.18 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007757/0.8677, allocations: 442.4 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008026/0.8685, allocations: 474.2 kB / 1.181 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.8686, allocations: 60 kB / 1.181 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009147/0.8695, allocations: 486.9 kB / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.8698, allocations: 287.2 kB / 1.182 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.8702, allocations: 401.9 kB / 1.182 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.8715, allocations: 1.162 MB / 1.183 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8715, allocations: 7.938 kB / 1.183 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8715, allocations: 3.938 kB / 1.183 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.8715, allocations: 0 / 1.183 GB, free: 3.625 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001748/0.8733, allocations: 1.06 MB / 1.184 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.8733, allocations: 12.88 kB / 1.184 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.8748, allocations: 215.7 kB / 1.184 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.8759, allocations: 0.5805 MB / 1.185 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.876, allocations: 49.67 kB / 1.185 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.8761, allocations: 68.34 kB / 1.185 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.8775, allocations: 1.03 MB / 1.186 GB, free: 416 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.8776, allocations: 7.938 kB / 1.186 GB, free: 408 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.8777, allocations: 27.98 kB / 1.186 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.121e-05/0.8778, allocations: 77.2 kB / 1.186 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.8788, allocations: 0.6918 MB / 1.187 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.8837, allocations: 5.721 MB / 1.192 GB, free: 9.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.8845, allocations: 0.6098 MB / 1.193 GB, free: 8.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.8853, allocations: 426 kB / 1.193 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.8854, allocations: 8.688 kB / 1.193 GB, free: 8.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8854, allocations: 34.56 kB / 1.193 GB, free: 8.332 MB / 0.92 GB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.8854, allocations: 0 / 1.193 GB, free: 8.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.004318/0.8897, allocations: 2.014 MB / 1.195 GB, free: 6.223 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.8898, allocations: 55.41 kB / 1.195 GB, free: 6.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.8903, allocations: 458.7 kB / 1.196 GB, free: 5.699 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.8903, allocations: 29.7 kB / 1.196 GB, free: 5.664 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.8906, allocations: 395 kB / 1.196 GB, free: 5.273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.8907, allocations: 149.8 kB / 1.196 GB, free: 5.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.8909, allocations: 110.2 kB / 1.197 GB, free: 5.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.891, allocations: 362.8 kB / 1.197 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.8914, allocations: 237.2 kB / 1.197 GB, free: 4.418 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.8919, allocations: 461 kB / 1.198 GB, free: 3.871 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.8929, allocations: 0.7478 MB / 1.198 GB, free: 3.027 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.8929, allocations: 4 kB / 1.198 GB, free: 3.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001883/0.8948, allocations: 1.038 MB / 1.199 GB, free: 1.965 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.8948, allocations: 10.34 kB / 1.199 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.8948, allocations: 8 kB / 1.199 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.8959, allocations: 327.4 kB / 1.2 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.8962, allocations: 99.83 kB / 1.2 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/0.9035, allocations: 7.474 MB / 1.207 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.904, allocations: 28.02 kB / 1.207 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.9041, allocations: 28 kB / 1.207 GB, free: 9.426 MB / 0.9356 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.9045, allocations: 245.5 kB / 1.207 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.9046, allocations: 63.28 kB / 1.207 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.9063, allocations: 0.8925 MB / 1.208 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9063, allocations: 4 kB / 1.208 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.9063, allocations: 4 kB / 1.208 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.9063, allocations: 3.984 kB / 1.208 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.9091, allocations: 1.674 MB / 1.21 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.9091, allocations: 4 kB / 1.21 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.9093, allocations: 39.91 kB / 1.21 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009136/0.9102, allocations: 307.6 kB / 1.21 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.9103, allocations: 16.06 kB / 1.21 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007108/0.9174, allocations: 7.459 MB / 1.218 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.9174, allocations: 7.938 kB / 1.218 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.9191, allocations: 0.9914 MB / 1.219 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.9195, allocations: 176.4 kB / 1.219 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.9196, allocations: 8 kB / 1.219 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.9199, allocations: 19.97 kB / 1.219 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.92, allocations: 43.89 kB / 1.219 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.92, allocations: 12 kB / 1.219 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003874/0.9204, allocations: 314.8 kB / 1.219 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9204, allocations: 0 / 1.219 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008608/0.9213, allocations: 196 kB / 1.219 GB, free: 12.22 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.9215, allocations: 104.4 kB / 1.219 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.9235, allocations: 1.191 MB / 1.221 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9235, allocations: 0 / 1.221 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.9248, allocations: 0.8618 MB / 1.221 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.9258, allocations: 210 kB / 1.222 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.928, allocations: 1.285 MB / 1.223 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.9286, allocations: 0.9921 MB / 1.224 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.9287, allocations: 35.44 kB / 1.224 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of SimCode: time 1.894e-06/0.9287, allocations: 0 / 1.224 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of Templates: time 0.0215/0.9502, allocations: 18.49 MB / 1.242 GB, free: 4.898 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time