Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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") 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_10_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.001561/0.001561, allocations: 111.2 kB / 16.41 MB, free: 6.457 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.001924/0.001924, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.596/1.596, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.833/2.833, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01506/1.089, allocations: 10.92 MB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01574/1.105, allocations: 8.807 MB / 1.187 GB, free: 64 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/1.107, allocations: 55.69 kB / 1.187 GB, free: 8 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004955/1.111, allocations: 1.681 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005993/1.117, allocations: 1.565 MB / 1.19 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/1.12, allocations: 0.6766 MB / 1.19 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004314/1.124, allocations: 2.278 MB / 1.193 GB, free: 9.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/1.126, allocations: 1.392 MB / 1.194 GB, free: 8.367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/1.129, allocations: 1 MB / 1.195 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/1.13, allocations: 1.019 MB / 1.196 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/1.131, allocations: 140 kB / 1.196 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/1.132, allocations: 0.7994 MB / 1.197 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000679/1.133, allocations: 0.5686 MB / 1.197 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/1.134, allocations: 0.8823 MB / 1.198 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/1.138, allocations: 2.58 MB / 1.201 GB, free: 1.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.138, allocations: 0 / 1.201 GB, free: 1.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.164e-06/1.138, allocations: 0 / 1.201 GB, free: 1.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.444e-05/1.138, allocations: 4 kB / 1.201 GB, free: 1.352 MB / 0.92 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.004006/1.142, allocations: 2.07 MB / 1.203 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.142, allocations: 12.88 kB / 1.203 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/1.154, allocations: 2.059 MB / 1.205 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/1.157, allocations: 1.221 MB / 1.206 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/1.157, allocations: 86.69 kB / 1.206 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/1.157, allocations: 128 kB / 1.206 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/1.163, allocations: 2.482 MB / 1.209 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/1.163, allocations: 4 kB / 1.209 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/1.164, allocations: 55.98 kB / 1.209 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/1.164, allocations: 134 kB / 1.209 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007565/1.172, allocations: 2.537 MB / 1.211 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/1.188, allocations: 10.04 MB / 1.221 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006397/1.194, allocations: 1.944 MB / 1.223 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/1.197, allocations: 0.976 MB / 1.224 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/1.197, allocations: 12.38 kB / 1.224 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/1.197, allocations: 39 kB / 1.224 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 3.025e-06/1.197, allocations: 0 / 1.224 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03217/1.229, allocations: 8.733 MB / 1.233 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/1.229, allocations: 64.06 kB / 1.233 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/1.231, allocations: 1.105 MB / 1.234 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/1.231, allocations: 45.64 kB / 1.234 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/1.232, allocations: 0.7473 MB / 1.235 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/1.232, allocations: 297.4 kB / 1.235 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/1.233, allocations: 198.5 kB / 1.235 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.233, allocations: 341.9 kB / 1.235 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/1.236, allocations: 1.079 MB / 1.236 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/1.24, allocations: 1.301 MB / 1.238 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/1.246, allocations: 2.386 MB / 1.24 GB, free: 8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.246, allocations: 4 kB / 1.24 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00925/1.255, allocations: 3.281 MB / 1.243 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.255, allocations: 8 kB / 1.243 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.255, allocations: 8 kB / 1.243 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/1.258, allocations: 0.7878 MB / 1.244 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/1.26, allocations: 427.2 kB / 1.244 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/1.279, allocations: 15.93 MB / 1.26 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.281, allocations: 295.6 kB / 1.26 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.282, allocations: 47.97 kB / 1.26 GB, free: 2.039 MB / 0.9825 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.000831/1.282, allocations: 402 kB / 1.261 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/1.283, allocations: 151.1 kB / 1.261 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009265/1.292, allocations: 3.198 MB / 1.264 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.292, allocations: 11.94 kB / 1.264 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.292, allocations: 8 kB / 1.264 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/1.292, allocations: 3.984 kB / 1.264 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/1.305, allocations: 4.913 MB / 1.269 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.305, allocations: 0 / 1.269 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.307, allocations: 363.7 kB / 1.269 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/1.309, allocations: 0.7018 MB / 1.27 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/1.309, allocations: 31.97 kB / 1.27 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/1.328, allocations: 15.53 MB / 1.285 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.328, allocations: 4 kB / 1.285 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008904/1.337, allocations: 3.048 MB / 1.288 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/1.338, allocations: 388 kB / 1.288 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.338, allocations: 27.98 kB / 1.288 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.34, allocations: 283.5 kB / 1.289 GB, free: 3.586 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.34, allocations: 88.41 kB / 1.289 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.34, allocations: 43.97 kB / 1.289 GB, free: 3.457 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001122/1.341, allocations: 0.7366 MB / 1.289 GB, free: 2.719 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.341, allocations: 0 / 1.289 GB, free: 2.719 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001644/1.343, allocations: 435.9 kB / 1.29 GB, free: 2.293 MB / 1.014 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.000282/1.343, allocations: 123.2 kB / 1.29 GB, free: 2.164 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009293/1.353, allocations: 3.636 MB / 1.294 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.353, allocations: 0 / 1.294 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005634/1.358, allocations: 2.375 MB / 1.296 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.361, allocations: 0.5212 MB / 1.296 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/1.37, allocations: 3.486 MB / 1.3 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.371, allocations: 1.391 MB / 1.301 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001648/1.373, allocations: 371.9 kB / 1.302 GB, free: 6.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/1.373, allocations: 111.4 kB / 1.302 GB, free: 6.008 MB / 1.029 GB Notification: Performance of SimCode: time 1.313e-06/1.373, allocations: 0 / 1.302 GB, free: 6.008 MB / 1.029 GB Notification: Performance of Templates: time 0.05934/1.432, allocations: 30.57 MB / 1.331 GB, free: 7.824 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches