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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009989/0.0009989, allocations: 91.3 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.001404/0.001404, 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.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004243, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9095/0.91, allocations: 142.4 MB / 0.9545 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01043/0.9204, allocations: 9.791 MB / 0.964 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.9358, allocations: 8.176 MB / 0.972 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.9382, allocations: 52.94 kB / 0.9721 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.9393, allocations: 265.1 kB / 0.9723 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.9446, allocations: 1.266 MB / 0.9735 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.9464, allocations: 466.4 kB / 0.974 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.9504, allocations: 2.442 MB / 0.9764 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003762/0.9542, allocations: 1.785 MB / 0.9781 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.9565, allocations: 0.7937 MB / 0.9789 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.9592, allocations: 0.9075 MB / 0.9798 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000598/0.9598, allocations: 59.56 kB / 0.9798 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.9625, allocations: 454 kB / 0.9803 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.9637, allocations: 487 kB / 0.9807 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.9651, allocations: 336.5 kB / 0.9811 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003639/0.9688, allocations: 1.956 MB / 0.983 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9688, allocations: 0 / 0.983 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9688, allocations: 7.938 kB / 0.983 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001155/0.9689, allocations: 0 / 0.983 GB, free: 2.215 MB / 0.7325 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.004318/0.9732, allocations: 1.73 MB / 0.9847 GB, free: 440 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9733, allocations: 8.031 kB / 0.9847 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.9838, allocations: 2.112 MB / 0.9867 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.9869, allocations: 1.083 MB / 0.9878 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.987, allocations: 78.33 kB / 0.9879 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.9875, allocations: 123.8 kB / 0.988 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006038/0.9935, allocations: 2.494 MB / 0.9904 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.9936, allocations: 7.938 kB / 0.9904 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.9938, allocations: 52 kB / 0.9905 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/0.9941, allocations: 126.1 kB / 0.9906 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006577/1.001, allocations: 2.588 MB / 0.9931 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/1.014, allocations: 10.11 MB / 1.003 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005525/1.02, allocations: 1.999 MB / 1.005 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/1.022, allocations: 0.9893 MB / 1.006 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/1.022, allocations: 12.44 kB / 1.006 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.022, allocations: 39 kB / 1.006 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/1.022, allocations: 0 / 1.006 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.02908/1.052, allocations: 8.769 MB / 1.015 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/1.052, allocations: 60.06 kB / 1.015 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.053, allocations: 1.085 MB / 1.016 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.053, allocations: 41.7 kB / 1.016 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/1.054, allocations: 0.7417 MB / 1.016 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/1.054, allocations: 276 kB / 1.017 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/1.054, allocations: 20 kB / 1.017 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.055, allocations: 345.9 kB / 1.017 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/1.057, allocations: 1.087 MB / 1.018 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/1.06, allocations: 1.329 MB / 1.019 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/1.063, allocations: 1.146 MB / 1.02 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.063, allocations: 4 kB / 1.021 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008646/1.072, allocations: 3.312 MB / 1.024 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.072, allocations: 12.11 kB / 1.024 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.072, allocations: 12 kB / 1.024 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/1.075, allocations: 0.7833 MB / 1.025 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.076, allocations: 427.2 kB / 1.025 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/1.094, allocations: 14.68 MB / 1.039 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/1.097, allocations: 303.6 kB / 1.04 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/1.097, allocations: 51.97 kB / 1.04 GB, free: 5.883 MB / 0.795 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.001259/1.098, allocations: 393.5 kB / 1.04 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005969/1.099, allocations: 150.3 kB / 1.04 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008968/1.108, allocations: 3.234 MB / 1.043 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.108, allocations: 8 kB / 1.043 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.108, allocations: 12 kB / 1.043 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.108, allocations: 3.984 kB / 1.043 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.119, allocations: 4.952 MB / 1.048 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.119, allocations: 3.938 kB / 1.048 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.121, allocations: 363.4 kB / 1.048 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/1.123, allocations: 0.6976 MB / 1.049 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/1.123, allocations: 31.97 kB / 1.049 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.138, allocations: 14.3 MB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.138, allocations: 7.969 kB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007559/1.146, allocations: 3.077 MB / 1.066 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/1.147, allocations: 387.1 kB / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/1.147, allocations: 20 kB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.148, allocations: 303.5 kB / 1.067 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.149, allocations: 80.44 kB / 1.067 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.149, allocations: 43.97 kB / 1.067 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001033/1.15, allocations: 0.7326 MB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 0 / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001605/1.151, allocations: 428 kB / 1.068 GB, free: 7.336 MB / 0.8262 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.0002824/1.152, allocations: 134.9 kB / 1.068 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007822/1.16, allocations: 3.641 MB / 1.072 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.16, allocations: 8.125 kB / 1.072 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004586/1.164, allocations: 2.387 MB / 1.074 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/1.167, allocations: 494.8 kB / 1.075 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/1.174, allocations: 3.939 MB / 1.078 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.176, allocations: 1.388 MB / 1.08 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001662/1.177, allocations: 379.9 kB / 1.08 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.178, allocations: 103.4 kB / 1.08 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of SimCode: time 8.92e-07/1.178, allocations: 0 / 1.08 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.0537/1.231, allocations: 28.11 MB / 1.108 GB, free: 14.86 MB / 0.8731 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/jenkins/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