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.001853/0.001853, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001698/0.001698, allocations: 183 kB / 17.34 MB, free: 5.766 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 64.05 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9557/0.9572, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0128/0.97, allocations: 10.91 MB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.9851, allocations: 8.787 MB / 1.108 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.9884, allocations: 63.22 kB / 1.108 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005362/0.9937, allocations: 1.669 MB / 1.11 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006297/1, allocations: 1.532 MB / 1.111 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/1.002, allocations: 0.6753 MB / 1.112 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004614/1.007, allocations: 2.281 MB / 1.114 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/1.009, allocations: 1.389 MB / 1.115 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/1.012, allocations: 0.9985 MB / 1.116 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/1.014, allocations: 1.022 MB / 1.117 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/1.014, allocations: 137.9 kB / 1.117 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/1.017, allocations: 0.8016 MB / 1.118 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007469/1.017, allocations: 0.564 MB / 1.119 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.019, allocations: 0.8866 MB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004945/1.024, allocations: 2.57 MB / 1.122 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.024, allocations: 1.312 kB / 1.122 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.545e-06/1.024, allocations: 0 / 1.122 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.873e-05/1.024, allocations: 4 kB / 1.122 GB, free: 1.129 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.004705/1.028, allocations: 2.02 MB / 1.124 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.029, allocations: 9.531 kB / 1.124 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/1.041, allocations: 2.047 MB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/1.044, allocations: 1.213 MB / 1.127 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/1.044, allocations: 85.06 kB / 1.127 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/1.045, allocations: 119.9 kB / 1.127 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/1.051, allocations: 2.478 MB / 1.13 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/1.051, allocations: 16.44 kB / 1.13 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.051, allocations: 54.86 kB / 1.13 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004019/1.052, allocations: 128.1 kB / 1.13 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008488/1.06, allocations: 2.539 MB / 1.133 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/1.077, allocations: 10.04 MB / 1.142 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006637/1.084, allocations: 1.948 MB / 1.144 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/1.087, allocations: 0.9694 MB / 1.145 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/1.087, allocations: 13.2 kB / 1.145 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.087, allocations: 39.25 kB / 1.145 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/1.087, allocations: 0 / 1.145 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03469/1.122, allocations: 8.709 MB / 1.154 GB, free: 412 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/1.122, allocations: 63.84 kB / 1.154 GB, free: 344 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.125, allocations: 1.102 MB / 1.155 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/1.125, allocations: 41.48 kB / 1.155 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/1.126, allocations: 0.7373 MB / 1.156 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/1.126, allocations: 275.4 kB / 1.156 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/1.127, allocations: 203.7 kB / 1.156 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.127, allocations: 339.4 kB / 1.156 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/1.13, allocations: 1.077 MB / 1.157 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/1.134, allocations: 1.31 MB / 1.159 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/1.14, allocations: 2.387 MB / 1.161 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.14, allocations: 1.25 kB / 1.161 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01/1.15, allocations: 3.27 MB / 1.164 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/1.151, allocations: 7.281 kB / 1.164 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.151, allocations: 7.875 kB / 1.164 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.154, allocations: 0.7967 MB / 1.165 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/1.156, allocations: 421 kB / 1.165 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/1.174, allocations: 15.91 MB / 1.181 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.177, allocations: 295.5 kB / 1.181 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/1.177, allocations: 50.56 kB / 1.181 GB, free: 10.59 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.001279/1.179, allocations: 403.7 kB / 1.182 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/1.179, allocations: 142.4 kB / 1.182 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009888/1.189, allocations: 3.199 MB / 1.185 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.189, allocations: 12.16 kB / 1.185 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/1.189, allocations: 7.25 kB / 1.185 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.189, allocations: 5.422 kB / 1.185 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.202, allocations: 4.899 MB / 1.19 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.202, allocations: 7.938 kB / 1.19 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.204, allocations: 355.7 kB / 1.19 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/1.206, allocations: 0.6896 MB / 1.191 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.207, allocations: 39.95 kB / 1.191 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.222, allocations: 15.54 MB / 1.206 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.222, allocations: 0 / 1.206 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008879/1.231, allocations: 3.039 MB / 1.209 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.232, allocations: 383.1 kB / 1.209 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/1.233, allocations: 23.92 kB / 1.209 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.235, allocations: 303.4 kB / 1.21 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/1.235, allocations: 68.56 kB / 1.21 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.236, allocations: 47.91 kB / 1.21 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001396/1.237, allocations: 0.7443 MB / 1.211 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.237, allocations: 0 / 1.211 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002312/1.239, allocations: 432 kB / 1.211 GB, free: 13.05 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.0003206/1.24, allocations: 131.7 kB / 1.211 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009136/1.249, allocations: 3.617 MB / 1.215 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.249, allocations: 4 kB / 1.215 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005386/1.254, allocations: 2.367 MB / 1.217 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.257, allocations: 0.5247 MB / 1.217 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00861/1.266, allocations: 3.533 MB / 1.221 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.267, allocations: 1.388 MB / 1.222 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/1.268, allocations: 127.3 kB / 1.222 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of SimCode: time 8.71e-07/1.268, allocations: 0 / 1.222 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.08082/1.349, allocations: 75.11 MB / 1.296 GB, free: 6.02 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