Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00195/0.00195, allocations: 195 kB / 16.14 MB, free: 6.648 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.632/2.632, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8229, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008171/0.8312, allocations: 6.1 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005183/0.8364, allocations: 3.168 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005949/0.837, allocations: 27.81 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.8395, allocations: 0.8759 MB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.8409, allocations: 438 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.8422, allocations: 434.7 kB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.8441, allocations: 1.463 MB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.8452, allocations: 0.632 MB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.8461, allocations: 386.3 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008632/0.8469, allocations: 486.1 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.8471, allocations: 44 kB / 1.03 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.8483, allocations: 0.5808 MB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.8487, allocations: 267.2 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005647/0.8493, allocations: 382 kB / 1.031 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.851, allocations: 1.18 MB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.851, allocations: 7.984 kB / 1.033 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.851, allocations: 4 kB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.921e-05/0.8511, allocations: 0 / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002273/0.8533, allocations: 1.05 MB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.8534, allocations: 11.98 kB / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.8551, allocations: 223.7 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.8561, allocations: 0.5259 MB / 1.034 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.8562, allocations: 49.67 kB / 1.034 GB, free: 356 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.8563, allocations: 68.27 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.8581, allocations: 1.03 MB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.8582, allocations: 7.938 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/0.8583, allocations: 39.92 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.8584, allocations: 65.27 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.8597, allocations: 0.6918 MB / 1.036 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/0.8653, allocations: 5.756 MB / 1.042 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.8662, allocations: 0.5904 MB / 1.043 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.8669, allocations: 420.6 kB / 1.043 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.867, allocations: 4 kB / 1.043 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.867, allocations: 34.56 kB / 1.043 GB, free: 7.059 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.943e-06/0.867, allocations: 0 / 1.043 GB, free: 7.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004306/0.8713, allocations: 2.061 MB / 1.045 GB, free: 4.902 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.8714, allocations: 59.41 kB / 1.045 GB, free: 4.832 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.8719, allocations: 454.7 kB / 1.045 GB, free: 4.375 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.872, allocations: 33.7 kB / 1.045 GB, free: 4.336 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.8723, allocations: 391 kB / 1.046 GB, free: 3.949 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.8724, allocations: 145.9 kB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.8726, allocations: 118.1 kB / 1.046 GB, free: 3.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8727, allocations: 362.8 kB / 1.046 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.8731, allocations: 249.2 kB / 1.047 GB, free: 3.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.8736, allocations: 457 kB / 1.047 GB, free: 2.535 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.8745, allocations: 0.7596 MB / 1.048 GB, free: 1.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8745, allocations: 0 / 1.048 GB, free: 1.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001861/0.8764, allocations: 1.066 MB / 1.049 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8764, allocations: 8 kB / 1.049 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.8764, allocations: 8 kB / 1.049 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.8775, allocations: 335.2 kB / 1.049 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.8778, allocations: 91.83 kB / 1.049 GB, free: 152 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/0.8849, allocations: 6.95 MB / 1.056 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.8854, allocations: 28.03 kB / 1.056 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.8855, allocations: 31.98 kB / 1.056 GB, free: 8.602 MB / 0.8106 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003905/0.8859, allocations: 251.6 kB / 1.056 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.886, allocations: 59.28 kB / 1.056 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.8877, allocations: 0.9158 MB / 1.057 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8877, allocations: 4 kB / 1.057 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.8877, allocations: 4 kB / 1.057 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.8877, allocations: 4 kB / 1.057 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.8903, allocations: 1.708 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.8903, allocations: 192 / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.8905, allocations: 47.91 kB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009398/0.8914, allocations: 331.2 kB / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.8915, allocations: 12 kB / 1.059 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006836/0.8983, allocations: 6.931 MB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8984, allocations: 4 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.9001, allocations: 1.011 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.9004, allocations: 168.4 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/0.9005, allocations: 15.98 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.9008, allocations: 15.98 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.901, allocations: 51.88 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.901, allocations: 11.94 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003913/0.9014, allocations: 310.8 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9014, allocations: 0 / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001036/0.9025, allocations: 192 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001702/0.9026, allocations: 119.2 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.9048, allocations: 1.195 MB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.9048, allocations: 0 / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.906, allocations: 0.8618 MB / 1.07 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.907, allocations: 189.5 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.9097, allocations: 1.519 MB / 1.072 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.9107, allocations: 0.9921 MB / 1.073 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003732/0.911, allocations: 97.17 kB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.9111, allocations: 35.44 kB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/0.9111, allocations: 3.938 kB / 1.073 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.02037/0.9315, allocations: 9.626 MB / 1.082 GB, free: 13.13 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches