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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.564/1.564, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.745/2.745, allocations: 437 MB / 0.7104 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 55.91 kB / 0.8692 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7697/0.7713, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008499/0.7799, allocations: 6.082 MB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005458/0.7854, allocations: 3.137 MB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006863/0.7861, allocations: 31.81 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.7888, allocations: 0.9371 MB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.7902, allocations: 477.5 kB / 1.028 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.7916, allocations: 486.8 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.7931, allocations: 1.096 MB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.7942, allocations: 0.6445 MB / 1.03 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008067/0.795, allocations: 430.4 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.7959, allocations: 474.2 kB / 1.031 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.7961, allocations: 56 kB / 1.031 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.7973, allocations: 491 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.7976, allocations: 287.2 kB / 1.032 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.7981, allocations: 394 kB / 1.032 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.7998, allocations: 1.168 MB / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.7998, allocations: 0 / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7998, allocations: 3.938 kB / 1.033 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.814e-05/0.7999, allocations: 0 / 1.033 GB, free: 2.363 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.001827/0.8017, allocations: 1.052 MB / 1.034 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.8018, allocations: 15.98 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.8034, allocations: 219.7 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008327/0.8042, allocations: 0.526 MB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.8043, allocations: 49.66 kB / 1.035 GB, free: 424 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.8044, allocations: 72.27 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.8059, allocations: 1.026 MB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.806, allocations: 11.98 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.8061, allocations: 27.98 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-05/0.8062, allocations: 69.22 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.8073, allocations: 0.6957 MB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.8122, allocations: 5.741 MB / 1.042 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.813, allocations: 0.6031 MB / 1.043 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.8138, allocations: 432.6 kB / 1.043 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.8138, allocations: 8 kB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.8138, allocations: 34.56 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.174e-06/0.8139, allocations: 3.938 kB / 1.043 GB, free: 7.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004321/0.8182, allocations: 2.05 MB / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8182, allocations: 55.41 kB / 1.045 GB, free: 4.895 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.8187, allocations: 458.7 kB / 1.046 GB, free: 4.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.8188, allocations: 33.7 kB / 1.046 GB, free: 4.398 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.819, allocations: 391 kB / 1.046 GB, free: 4.008 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.8191, allocations: 145.9 kB / 1.046 GB, free: 3.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.8193, allocations: 114.2 kB / 1.046 GB, free: 3.746 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8195, allocations: 358.8 kB / 1.047 GB, free: 3.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.8198, allocations: 245.2 kB / 1.047 GB, free: 3.148 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.8203, allocations: 465 kB / 1.048 GB, free: 2.598 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.8212, allocations: 0.7478 MB / 1.048 GB, free: 1.754 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8212, allocations: 8 kB / 1.048 GB, free: 1.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001768/0.823, allocations: 1.061 MB / 1.049 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.823, allocations: 8 kB / 1.049 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.823, allocations: 8 kB / 1.049 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.8241, allocations: 331.9 kB / 1.05 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.8244, allocations: 99.81 kB / 1.05 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007122/0.8316, allocations: 7.513 MB / 1.057 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.832, allocations: 36.03 kB / 1.057 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.832, allocations: 32.11 kB / 1.057 GB, free: 8.07 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.0003364/0.8324, allocations: 245.5 kB / 1.057 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.8325, allocations: 63.19 kB / 1.057 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.8341, allocations: 0.9236 MB / 1.058 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.8341, allocations: 7.984 kB / 1.058 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.8342, allocations: 4 kB / 1.058 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8342, allocations: 0 / 1.058 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.8368, allocations: 1.7 MB / 1.06 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8368, allocations: 4 kB / 1.06 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.8369, allocations: 39.91 kB / 1.06 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009108/0.8379, allocations: 327.2 kB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.8379, allocations: 12 kB / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006857/0.8448, allocations: 7.504 MB / 1.068 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.8448, allocations: 4 kB / 1.068 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.8464, allocations: 1.011 MB / 1.069 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.8467, allocations: 176.4 kB / 1.069 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.8467, allocations: 12 kB / 1.069 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.847, allocations: 19.97 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.8471, allocations: 47.83 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.8472, allocations: 12 kB / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003293/0.8475, allocations: 310.9 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8475, allocations: 0 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007613/0.8483, allocations: 199.9 kB / 1.069 GB, free: 10.72 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.0001426/0.8484, allocations: 111.8 kB / 1.07 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.8503, allocations: 1.242 MB / 1.071 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8504, allocations: 4 kB / 1.071 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.8515, allocations: 0.8657 MB / 1.072 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.8525, allocations: 206.5 kB / 1.072 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.8545, allocations: 1.241 MB / 1.073 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.8552, allocations: 0.9803 MB / 1.074 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.8555, allocations: 105.2 kB / 1.074 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.8556, allocations: 35.44 kB / 1.074 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.8556, allocations: 0 / 1.074 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of Templates: time 0.01775/0.8734, allocations: 9.96 MB / 1.084 GB, free: 11.9 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