Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.Lines.Examples.ACLine,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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 106.7 kB / 16.41 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.001459/0.001459, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.17 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.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8837, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01681/0.9006, allocations: 10.91 MB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.9191, allocations: 8.795 MB / 1.108 GB, free: 8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.9217, allocations: 63.19 kB / 1.108 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005828/0.9276, allocations: 1.669 MB / 1.11 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.935, allocations: 1.572 MB / 1.111 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.9377, allocations: 0.664 MB / 1.112 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004711/0.9424, allocations: 2.291 MB / 1.114 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.9453, allocations: 1.385 MB / 1.115 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.948, allocations: 1.002 MB / 1.116 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.9508, allocations: 1.018 MB / 1.117 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006665/0.9515, allocations: 138.4 kB / 1.117 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.9545, allocations: 0.7945 MB / 1.118 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.9557, allocations: 0.5708 MB / 1.119 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.9575, allocations: 0.8857 MB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006474/0.964, allocations: 2.571 MB / 1.122 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.964, allocations: 4 kB / 1.122 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.859e-06/0.964, allocations: 1.281 kB / 1.122 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001595/0.9642, allocations: 0 / 1.122 GB, free: 1.125 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006377/0.9706, allocations: 2.021 MB / 1.124 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.9707, allocations: 9.5 kB / 1.124 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.9827, allocations: 2.041 MB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.9862, allocations: 1.222 MB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.9863, allocations: 89.28 kB / 1.127 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.9867, allocations: 116.5 kB / 1.127 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006786/0.9935, allocations: 2.484 MB / 1.13 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.9936, allocations: 8.906 kB / 1.13 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.9937, allocations: 54.86 kB / 1.13 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003941/0.9942, allocations: 128 kB / 1.13 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008201/1.002, allocations: 2.546 MB / 1.133 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/1.019, allocations: 10.03 MB / 1.142 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/1.026, allocations: 1.948 MB / 1.144 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.029, allocations: 0.9742 MB / 1.145 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/1.029, allocations: 10.08 kB / 1.145 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.029, allocations: 42.56 kB / 1.145 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/1.029, allocations: 4 kB / 1.145 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03268/1.062, allocations: 8.712 MB / 1.154 GB, free: 364 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/1.062, allocations: 60.72 kB / 1.154 GB, free: 300 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/1.064, allocations: 1.102 MB / 1.155 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/1.064, allocations: 41.61 kB / 1.155 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/1.065, allocations: 0.7299 MB / 1.156 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/1.065, allocations: 286.7 kB / 1.156 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/1.065, allocations: 200.5 kB / 1.156 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.066, allocations: 347.9 kB / 1.156 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/1.069, allocations: 1.072 MB / 1.158 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/1.072, allocations: 1.306 MB / 1.159 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006317/1.078, allocations: 2.384 MB / 1.161 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.078, allocations: 2.531 kB / 1.161 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009001/1.087, allocations: 3.272 MB / 1.164 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/1.087, allocations: 8.312 kB / 1.164 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.087, allocations: 8.219 kB / 1.164 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/1.09, allocations: 0.7922 MB / 1.165 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/1.092, allocations: 416.9 kB / 1.166 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/1.108, allocations: 15.92 MB / 1.181 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.111, allocations: 288 kB / 1.181 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.111, allocations: 54.33 kB / 1.181 GB, free: 10.55 MB / 0.92 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009009/1.112, allocations: 400.6 kB / 1.182 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/1.112, allocations: 146 kB / 1.182 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00885/1.121, allocations: 3.2 MB / 1.185 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.121, allocations: 13.22 kB / 1.185 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.121, allocations: 6.562 kB / 1.185 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.121, allocations: 3.984 kB / 1.185 GB, free: 8.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.133, allocations: 4.9 MB / 1.19 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.133, allocations: 8.281 kB / 1.19 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.135, allocations: 355.4 kB / 1.19 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/1.137, allocations: 0.6975 MB / 1.191 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.137, allocations: 31.97 kB / 1.191 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/1.152, allocations: 15.53 MB / 1.206 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.152, allocations: 11.92 kB / 1.206 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008198/1.16, allocations: 3.036 MB / 1.209 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.161, allocations: 391.1 kB / 1.209 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/1.161, allocations: 23.94 kB / 1.209 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.163, allocations: 295.3 kB / 1.21 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.164, allocations: 80.48 kB / 1.21 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.164, allocations: 39.97 kB / 1.21 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009826/1.165, allocations: 0.7405 MB / 1.211 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/1.165, allocations: 0 / 1.211 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001615/1.166, allocations: 436 kB / 1.211 GB, free: 13.01 MB / 0.9512 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002892/1.167, allocations: 127.7 kB / 1.211 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00838/1.175, allocations: 3.617 MB / 1.215 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.175, allocations: 8.125 kB / 1.215 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004758/1.18, allocations: 2.367 MB / 1.217 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.182, allocations: 0.5222 MB / 1.217 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008132/1.19, allocations: 3.539 MB / 1.221 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.192, allocations: 1.391 MB / 1.222 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/1.192, allocations: 127.3 kB / 1.222 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/1.192, allocations: 4 kB / 1.222 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of Templates: time 0.08605/1.278, allocations: 75.1 MB / 1.296 GB, free: 5.973 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches