Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001558/0.001558, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001577/0.001577, allocations: 201.1 kB / 16.26 MB, free: 6.625 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.742 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 64.25 kB / 0.908 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.296, allocations: 159.1 MB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007829/0.3039, allocations: 6.094 MB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004778/0.3087, allocations: 3.129 MB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.309, allocations: 27.81 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.3112, allocations: 0.8818 MB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009113/0.3121, allocations: 434 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3132, allocations: 441.8 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.3143, allocations: 1.092 MB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.3153, allocations: 0.7133 MB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.3158, allocations: 438.3 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.3164, allocations: 494.1 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.3165, allocations: 60 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.3172, allocations: 487 kB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.3175, allocations: 295.2 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.3179, allocations: 394.1 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3191, allocations: 1.195 MB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3191, allocations: 4 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3191, allocations: 0 / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3191, allocations: 4 kB / 1.079 GB, free: 14.41 MB / 0.8419 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.001583/0.3207, allocations: 1.057 MB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3208, allocations: 8.031 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3222, allocations: 219.7 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.3229, allocations: 0.5337 MB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.323, allocations: 45.67 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3231, allocations: 68.3 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.3245, allocations: 1.026 MB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.3246, allocations: 7.938 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.3246, allocations: 35.98 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-05/0.3247, allocations: 69.27 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3258, allocations: 0.6918 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.3309, allocations: 5.752 MB / 1.088 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.3318, allocations: 0.5941 MB / 1.089 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/0.3325, allocations: 428.6 kB / 1.089 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3326, allocations: 4 kB / 1.089 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3326, allocations: 38.56 kB / 1.09 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.3326, allocations: 0 / 1.09 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004348/0.337, allocations: 2.05 MB / 1.092 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.337, allocations: 63.34 kB / 1.092 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.3375, allocations: 454.8 kB / 1.092 GB, free: 496 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3376, allocations: 29.7 kB / 1.092 GB, free: 460 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.3378, allocations: 391 kB / 1.092 GB, free: 60 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.338, allocations: 153.8 kB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.3382, allocations: 114.2 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3383, allocations: 366.8 kB / 1.093 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.3387, allocations: 241.2 kB / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.3392, allocations: 461 kB / 1.094 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.3402, allocations: 0.748 MB / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3402, allocations: 4 kB / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001858/0.342, allocations: 1.07 MB / 1.095 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3421, allocations: 13.25 kB / 1.095 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3421, allocations: 4 kB / 1.095 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3432, allocations: 335.1 kB / 1.096 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3435, allocations: 95.88 kB / 1.096 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007546/0.351, allocations: 7.52 MB / 1.103 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.3514, allocations: 28.02 kB / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.3515, allocations: 32 kB / 1.103 GB, free: 4.113 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 (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.000332/0.3518, allocations: 241.6 kB / 1.104 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.3519, allocations: 63.28 kB / 1.104 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.3536, allocations: 0.9081 MB / 1.104 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3537, allocations: 4 kB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3537, allocations: 4.188 kB / 1.104 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3537, allocations: 0 / 1.104 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.3563, allocations: 1.723 MB / 1.106 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3563, allocations: 0 / 1.106 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.3565, allocations: 43.91 kB / 1.106 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000933/0.3575, allocations: 327.2 kB / 1.107 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.3575, allocations: 12 kB / 1.107 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007325/0.3648, allocations: 7.507 MB / 1.114 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3648, allocations: 0 / 1.114 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.3666, allocations: 1.019 MB / 1.115 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.3668, allocations: 168.4 kB / 1.115 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.3669, allocations: 11.94 kB / 1.115 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.3671, allocations: 27.97 kB / 1.115 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.3672, allocations: 35.95 kB / 1.115 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.3673, allocations: 12 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003196/0.3676, allocations: 310.9 kB / 1.115 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3676, allocations: 0 / 1.115 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007158/0.3683, allocations: 199.9 kB / 1.116 GB, free: 6.762 MB / 0.8731 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.0001479/0.3685, allocations: 113 kB / 1.116 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.3704, allocations: 1.247 MB / 1.117 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3704, allocations: 0 / 1.117 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.3716, allocations: 0.8582 MB / 1.118 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.3725, allocations: 210.9 kB / 1.118 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.3745, allocations: 1.513 MB / 1.119 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.3751, allocations: 0.9921 MB / 1.12 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002697/0.3754, allocations: 97.27 kB / 1.12 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.3755, allocations: 35.44 kB / 1.121 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.3755, allocations: 7.875 kB / 1.121 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of Templates: time 0.01652/0.392, allocations: 10.03 MB / 1.13 GB, free: 7.594 MB / 0.8887 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches