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.001478/0.001478, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001639/0.001639, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.565/2.565, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 56.62 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.323, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.0092/0.3323, allocations: 6.084 MB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005828/0.3382, allocations: 3.16 MB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.339, allocations: 27.81 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.3418, allocations: 0.9234 MB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.3434, allocations: 477.5 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.3448, allocations: 481.8 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.3463, allocations: 1.1 MB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3473, allocations: 0.639 MB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.3481, allocations: 426.4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007919/0.3489, allocations: 478.2 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.3491, allocations: 60 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.3502, allocations: 491 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.3505, allocations: 295.2 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005226/0.3511, allocations: 390 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.3529, allocations: 1.164 MB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.3529, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3529, allocations: 4 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-05/0.353, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.8106 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.002382/0.3554, allocations: 1.052 MB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3554, allocations: 11.98 kB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.3571, allocations: 219.7 kB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.358, allocations: 0.5259 MB / 1.035 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.3581, allocations: 45.67 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3582, allocations: 68.27 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.3598, allocations: 1.038 MB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.3599, allocations: 3.938 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.36, allocations: 31.98 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.3601, allocations: 69.27 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3612, allocations: 0.6957 MB / 1.037 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005708/0.3669, allocations: 5.748 MB / 1.043 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.3679, allocations: 0.5943 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.3687, allocations: 420.5 kB / 1.044 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3687, allocations: 4 kB / 1.044 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3688, allocations: 46.55 kB / 1.044 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 3.086e-06/0.3688, allocations: 0 / 1.044 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004574/0.3733, allocations: 2.05 MB / 1.046 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3734, allocations: 59.41 kB / 1.046 GB, free: 13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.374, allocations: 450.8 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.374, allocations: 37.7 kB / 1.047 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.3743, allocations: 387 kB / 1.047 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3745, allocations: 153.9 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.3747, allocations: 114.2 kB / 1.047 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3748, allocations: 358.8 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.3752, allocations: 245.2 kB / 1.048 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.3757, allocations: 461 kB / 1.048 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.3766, allocations: 0.7481 MB / 1.049 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3766, allocations: 0 / 1.049 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001978/0.3786, allocations: 1.069 MB / 1.05 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3786, allocations: 8 kB / 1.05 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3787, allocations: 8 kB / 1.05 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.3797, allocations: 335.8 kB / 1.05 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.3801, allocations: 95.83 kB / 1.05 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/0.3882, allocations: 7.522 MB / 1.058 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.3889, allocations: 31.98 kB / 1.058 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.389, allocations: 31.94 kB / 1.058 GB, free: 176 kB / 0.8262 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.000567/0.3896, allocations: 237.7 kB / 1.058 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3898, allocations: 71.17 kB / 1.058 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3917, allocations: 0.9158 MB / 1.059 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3917, allocations: 4 kB / 1.059 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.3918, allocations: 4 kB / 1.059 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.3918, allocations: 3.984 kB / 1.059 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.3946, allocations: 1.701 MB / 1.061 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.3946, allocations: 3.984 kB / 1.061 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.3948, allocations: 43.97 kB / 1.061 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009612/0.3958, allocations: 327.3 kB / 1.061 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.3959, allocations: 12 kB / 1.061 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007181/0.403, allocations: 7.515 MB / 1.068 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4031, allocations: 0 / 1.068 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.4048, allocations: 1.015 MB / 1.069 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.4051, allocations: 176.4 kB / 1.07 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.4052, allocations: 16 kB / 1.07 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.4055, allocations: 15.98 kB / 1.07 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4056, allocations: 43.88 kB / 1.07 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4056, allocations: 12.23 kB / 1.07 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000355/0.406, allocations: 302.9 kB / 1.07 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.443e-06/0.406, allocations: 0 / 1.07 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008126/0.4068, allocations: 203.9 kB / 1.07 GB, free: 2.824 MB / 0.8419 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.0001758/0.407, allocations: 115.2 kB / 1.07 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.409, allocations: 1.25 MB / 1.071 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.409, allocations: 0 / 1.071 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.4102, allocations: 0.8774 MB / 1.072 GB, free: 484 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4112, allocations: 199.2 kB / 1.072 GB, free: 292 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5007/0.9119, allocations: 1.297 MB / 1.074 GB, free: 59.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.9126, allocations: 0.9918 MB / 1.075 GB, free: 58.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.9128, allocations: 38.41 kB / 1.075 GB, free: 58.81 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.9128, allocations: 0.8125 kB / 1.075 GB, free: 58.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.03042/0.9432, allocations: 18.44 MB / 1.093 GB, free: 56.92 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/jenkins1/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