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.001124/0.001124, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001161/0.001161, allocations: 183.9 kB / 17.35 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.45/1.45, allocations: 222.9 MB / 241.1 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.4/2.4, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.83 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9714/0.9728, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01358/0.9864, allocations: 10.9 MB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01573/1.002, allocations: 8.804 MB / 1.108 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/1.005, allocations: 55.12 kB / 1.108 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005026/1.01, allocations: 1.669 MB / 1.11 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006653/1.016, allocations: 1.569 MB / 1.111 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/1.019, allocations: 0.672 MB / 1.112 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004421/1.023, allocations: 2.294 MB / 1.114 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/1.026, allocations: 1.374 MB / 1.115 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/1.028, allocations: 1.01 MB / 1.116 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/1.031, allocations: 1.018 MB / 1.117 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006305/1.032, allocations: 138.9 kB / 1.117 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/1.035, allocations: 0.8059 MB / 1.118 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001262/1.036, allocations: 0.5661 MB / 1.119 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002976/1.039, allocations: 0.8824 MB / 1.12 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007497/1.046, allocations: 2.579 MB / 1.122 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.046, allocations: 0 / 1.122 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.697e-06/1.046, allocations: 0 / 1.122 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001322/1.046, allocations: 0 / 1.122 GB, free: 1.102 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.006578/1.053, allocations: 2.016 MB / 1.124 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.053, allocations: 9.719 kB / 1.124 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.066, allocations: 2.043 MB / 1.126 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/1.069, allocations: 1.222 MB / 1.127 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/1.069, allocations: 88.31 kB / 1.127 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/1.07, allocations: 116 kB / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006713/1.076, allocations: 2.486 MB / 1.13 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.076, allocations: 4.094 kB / 1.13 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/1.077, allocations: 50.78 kB / 1.13 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004076/1.077, allocations: 129 kB / 1.13 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008259/1.085, allocations: 2.542 MB / 1.133 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/1.102, allocations: 10.04 MB / 1.142 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/1.109, allocations: 1.949 MB / 1.144 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/1.112, allocations: 0.9677 MB / 1.145 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/1.112, allocations: 5.062 kB / 1.145 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/1.112, allocations: 45.97 kB / 1.145 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 3.536e-06/1.112, allocations: 0 / 1.145 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03367/1.145, allocations: 8.713 MB / 1.154 GB, free: 372 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.146, allocations: 59.53 kB / 1.154 GB, free: 308 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/1.148, allocations: 1.099 MB / 1.155 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.148, allocations: 41.45 kB / 1.155 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/1.149, allocations: 0.7372 MB / 1.156 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/1.149, allocations: 279.5 kB / 1.156 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004725/1.149, allocations: 203.6 kB / 1.156 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.15, allocations: 347.2 kB / 1.156 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/1.153, allocations: 1.077 MB / 1.158 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/1.156, allocations: 1.31 MB / 1.159 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006362/1.162, allocations: 2.379 MB / 1.161 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.162, allocations: 1.5 kB / 1.161 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009676/1.172, allocations: 3.274 MB / 1.164 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.172, allocations: 8.344 kB / 1.164 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.172, allocations: 7.375 kB / 1.164 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/1.175, allocations: 0.7925 MB / 1.165 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.177, allocations: 413.3 kB / 1.166 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/1.195, allocations: 15.92 MB / 1.181 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/1.198, allocations: 292.2 kB / 1.181 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003843/1.199, allocations: 50.41 kB / 1.181 GB, free: 10.56 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.001426/1.2, allocations: 407.7 kB / 1.182 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/1.201, allocations: 141.8 kB / 1.182 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009918/1.211, allocations: 3.204 MB / 1.185 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/1.211, allocations: 9.109 kB / 1.185 GB, free: 8.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.211, allocations: 0 / 1.185 GB, free: 8.34 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.212, allocations: 395.1 kB / 1.185 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005642/1.213, allocations: 10.56 kB / 1.185 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.215, allocations: 278.2 kB / 1.186 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/1.215, allocations: 89.27 kB / 1.186 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01158/1.227, allocations: 3.458 MB / 1.189 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0101/1.237, allocations: 3.617 MB / 1.193 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003056/1.24, allocations: 1.125 MB / 1.194 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001535/1.242, allocations: 0.7482 MB / 1.195 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of Backend: time 9.02e-07/1.242, allocations: 0 / 1.195 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009033/1.251, allocations: 3.059 MB / 1.198 GB, free: 12 MB / 0.9356 GB Notification: Performance of SimCode: time 0.007533/1.258, allocations: 3.637 MB / 1.201 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.06448/1.323, allocations: 37.64 MB / 1.238 GB, free: 3.086 MB / 0.9669 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