Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001247/0.001247, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001195/0.001196, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.679/2.679, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.64 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007932/0.3507, allocations: 6.098 MB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00517/0.3559, allocations: 3.149 MB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.3564, allocations: 27.81 kB / 1.036 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.3589, allocations: 0.9371 MB / 1.037 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.36, allocations: 477.5 kB / 1.037 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3612, allocations: 478.8 kB / 1.038 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3626, allocations: 1.092 MB / 1.039 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009455/0.3636, allocations: 0.6349 MB / 1.039 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.3641, allocations: 438.4 kB / 1.04 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005732/0.3647, allocations: 470.2 kB / 1.04 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.3648, allocations: 60 kB / 1.04 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008735/0.3657, allocations: 490.9 kB / 1.041 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.366, allocations: 291.2 kB / 1.041 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.3664, allocations: 397.9 kB / 1.041 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3678, allocations: 1.168 MB / 1.042 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3678, allocations: 0 / 1.042 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3678, allocations: 7.875 kB / 1.042 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.3678, allocations: 0 / 1.042 GB, free: 1.859 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.001746/0.3696, allocations: 1.056 MB / 1.044 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3696, allocations: 12.03 kB / 1.044 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3712, allocations: 211.7 kB / 1.044 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009981/0.3722, allocations: 0.5806 MB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3722, allocations: 45.67 kB / 1.044 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3723, allocations: 72.27 kB / 1.044 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.3737, allocations: 1.03 MB / 1.045 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.3737, allocations: 7.984 kB / 1.045 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.3738, allocations: 27.98 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.105e-05/0.3739, allocations: 73.22 kB / 1.046 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3749, allocations: 0.6957 MB / 1.046 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.3799, allocations: 5.729 MB / 1.052 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/0.3807, allocations: 0.5981 MB / 1.052 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.3815, allocations: 428.5 kB / 1.053 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.3815, allocations: 8 kB / 1.053 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3816, allocations: 34.56 kB / 1.053 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.3816, allocations: 0 / 1.053 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004332/0.3859, allocations: 2.049 MB / 1.055 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.386, allocations: 55.41 kB / 1.055 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.3865, allocations: 458.7 kB / 1.055 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.3865, allocations: 33.7 kB / 1.055 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.3868, allocations: 395 kB / 1.056 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3869, allocations: 145.9 kB / 1.056 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3871, allocations: 110.2 kB / 1.056 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3873, allocations: 358.8 kB / 1.056 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.3876, allocations: 245.2 kB / 1.057 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.3882, allocations: 465 kB / 1.057 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/0.3891, allocations: 0.7526 MB / 1.058 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3891, allocations: 4 kB / 1.058 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00187/0.391, allocations: 1.065 MB / 1.059 GB, free: 140 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.391, allocations: 8 kB / 1.059 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.391, allocations: 8.844 kB / 1.059 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3921, allocations: 331.2 kB / 1.059 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.3924, allocations: 103.8 kB / 1.059 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/0.3998, allocations: 7.504 MB / 1.067 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.4003, allocations: 32.03 kB / 1.067 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.4004, allocations: 27.98 kB / 1.067 GB, free: 7.555 MB / 0.8419 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.0003648/0.4008, allocations: 249.5 kB / 1.067 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.4009, allocations: 63.19 kB / 1.067 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.4026, allocations: 0.9197 MB / 1.068 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4026, allocations: 8 kB / 1.068 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4026, allocations: 4 kB / 1.068 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4026, allocations: 0 / 1.068 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.4055, allocations: 1.704 MB / 1.069 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4055, allocations: 4 kB / 1.069 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4057, allocations: 43.91 kB / 1.07 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009933/0.4067, allocations: 327.5 kB / 1.07 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.4067, allocations: 12 kB / 1.07 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6037/1.01, allocations: 7.501 MB / 1.077 GB, free: 51.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.011, allocations: 2.672 kB / 1.077 GB, free: 51.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/1.012, allocations: 1.018 MB / 1.078 GB, free: 50.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/1.013, allocations: 173.7 kB / 1.078 GB, free: 50.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/1.013, allocations: 7.656 kB / 1.078 GB, free: 50.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/1.013, allocations: 23.34 kB / 1.078 GB, free: 50.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.013, allocations: 42.31 kB / 1.078 GB, free: 50.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.013, allocations: 13.89 kB / 1.078 GB, free: 50.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004044/1.014, allocations: 307.3 kB / 1.079 GB, free: 50.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.51e-07/1.014, allocations: 0 / 1.079 GB, free: 50.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001021/1.015, allocations: 194.1 kB / 1.079 GB, free: 50.39 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.0001623/1.015, allocations: 112.6 kB / 1.079 GB, free: 50.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.017, allocations: 1.206 MB / 1.08 GB, free: 49.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.017, allocations: 3.75 kB / 1.08 GB, free: 49.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.018, allocations: 0.87 MB / 1.081 GB, free: 49.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/1.019, allocations: 199.3 kB / 1.081 GB, free: 48.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/1.021, allocations: 1.227 MB / 1.082 GB, free: 48.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/1.022, allocations: 0.9956 MB / 1.083 GB, free: 47.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003599/1.023, allocations: 95.86 kB / 1.083 GB, free: 47.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/1.023, allocations: 34.61 kB / 1.083 GB, free: 47.6 MB / 0.8419 GB Notification: Performance of SimCode: time 1.012e-06/1.023, allocations: 1.094 kB / 1.083 GB, free: 47.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.02829/1.051, allocations: 9.95 MB / 1.093 GB, free: 47.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches