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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001167/0.001167, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001372/0.001372, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 8 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.904, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01367/0.9177, allocations: 9.802 MB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.9307, allocations: 8.185 MB / 1.04 GB, free: 14 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.9321, allocations: 47.69 kB / 1.04 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009004/0.933, allocations: 265.8 kB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.9372, allocations: 1.257 MB / 1.041 GB, free: 12.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.9387, allocations: 482.5 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.9418, allocations: 2.434 MB / 1.044 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.9452, allocations: 1.784 MB / 1.046 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.9471, allocations: 0.7857 MB / 1.047 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.9489, allocations: 0.8988 MB / 1.048 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.9493, allocations: 60 kB / 1.048 GB, free: 5.945 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.9509, allocations: 467.4 kB / 1.048 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008344/0.9517, allocations: 474.5 kB / 1.049 GB, free: 5.023 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000765/0.9525, allocations: 336.8 kB / 1.049 GB, free: 4.688 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.9555, allocations: 1.967 MB / 1.051 GB, free: 2.715 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.9556, allocations: 0 / 1.051 GB, free: 2.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9556, allocations: 0 / 1.051 GB, free: 2.715 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001098/0.9557, allocations: 0 / 1.051 GB, free: 2.715 MB / 0.795 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.003918/0.9596, allocations: 1.731 MB / 1.053 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9597, allocations: 12.52 kB / 1.053 GB, free: 0.918 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.97, allocations: 2.108 MB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.9729, allocations: 1.083 MB / 1.056 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.973, allocations: 86.31 kB / 1.056 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005173/0.9736, allocations: 119.9 kB / 1.056 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/0.9809, allocations: 2.49 MB / 1.058 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.9811, allocations: 11.94 kB / 1.058 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003766/0.9815, allocations: 51.98 kB / 1.058 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000412/0.9819, allocations: 126.1 kB / 1.059 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.9892, allocations: 2.588 MB / 1.061 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/1.005, allocations: 10.11 MB / 1.071 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005555/1.011, allocations: 2.003 MB / 1.073 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/1.013, allocations: 0.9933 MB / 1.074 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/1.013, allocations: 8.438 kB / 1.074 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.013, allocations: 35 kB / 1.074 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 3.517e-06/1.013, allocations: 4 kB / 1.074 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.03169/1.045, allocations: 8.777 MB / 1.082 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/1.045, allocations: 64.06 kB / 1.083 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/1.047, allocations: 1.081 MB / 1.084 GB, free: 172 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.047, allocations: 41.7 kB / 1.084 GB, free: 124 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.048, allocations: 0.7379 MB / 1.084 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/1.049, allocations: 280 kB / 1.085 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.049, allocations: 16 kB / 1.085 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000302/1.049, allocations: 345.9 kB / 1.085 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/1.052, allocations: 1.091 MB / 1.086 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/1.055, allocations: 1.321 MB / 1.087 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/1.058, allocations: 1.146 MB / 1.088 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.058, allocations: 4 kB / 1.088 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009048/1.067, allocations: 3.3 MB / 1.092 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.068, allocations: 8 kB / 1.092 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.068, allocations: 8 kB / 1.092 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/1.07, allocations: 0.7994 MB / 1.092 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.072, allocations: 435.2 kB / 1.093 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/1.091, allocations: 14.67 MB / 1.107 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.093, allocations: 295.6 kB / 1.107 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/1.093, allocations: 59.91 kB / 1.108 GB, free: 6.391 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009762/1.094, allocations: 405.4 kB / 1.108 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/1.095, allocations: 142.3 kB / 1.108 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008535/1.103, allocations: 3.238 MB / 1.111 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.103, allocations: 15.98 kB / 1.111 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.533e-05/1.103, allocations: 8 kB / 1.111 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.103, allocations: 3.984 kB / 1.111 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/1.115, allocations: 4.932 MB / 1.116 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.115, allocations: 0 / 1.116 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.116, allocations: 371.7 kB / 1.116 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/1.119, allocations: 0.6936 MB / 1.117 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.119, allocations: 27.97 kB / 1.117 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/1.137, allocations: 14.32 MB / 1.131 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.137, allocations: 7.938 kB / 1.131 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007727/1.145, allocations: 3.077 MB / 1.134 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/1.146, allocations: 379.2 kB / 1.134 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/1.146, allocations: 23.94 kB / 1.135 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.148, allocations: 303.5 kB / 1.135 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/1.148, allocations: 80.44 kB / 1.135 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.148, allocations: 39.97 kB / 1.135 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001101/1.149, allocations: 0.7249 MB / 1.136 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.603e-06/1.149, allocations: 0 / 1.136 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001829/1.151, allocations: 435.9 kB / 1.136 GB, free: 7.84 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00031/1.151, allocations: 131 kB / 1.136 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.008188/1.159, allocations: 3.652 MB / 1.14 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/1.159, allocations: 4 kB / 1.14 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/1.164, allocations: 2.387 MB / 1.142 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/1.167, allocations: 498.3 kB / 1.143 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/1.175, allocations: 3.93 MB / 1.146 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/1.176, allocations: 1.384 MB / 1.148 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001825/1.178, allocations: 387.8 kB / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/1.179, allocations: 103.4 kB / 1.148 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of SimCode: time 8.82e-07/1.179, allocations: 3.938 kB / 1.148 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.04739/1.226, allocations: 28.1 MB / 1.176 GB, free: 15.37 MB / 0.9356 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 -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/jenkins/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