Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001981/0.001981, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.011/3.011, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005736/0.0005738, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7686, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005913/0.7746, allocations: 4.587 MB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005279/0.7799, allocations: 3.489 MB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.7804, allocations: 8 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.7814, allocations: 214.8 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.7828, allocations: 364 kB / 1.031 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.7835, allocations: 199.5 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.7849, allocations: 0.7477 MB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.7862, allocations: 0.7358 MB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.7866, allocations: 203.2 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.7871, allocations: 259 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.104e-05/0.7872, allocations: 24 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.7881, allocations: 327.6 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.7883, allocations: 139.6 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.7884, allocations: 109.5 kB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.7894, allocations: 0.7637 MB / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.7894, allocations: 0 / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7895, allocations: 0 / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.7895, allocations: 0 / 1.034 GB, free: 3.844 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001991/0.7915, allocations: 0.7596 MB / 1.035 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.7916, allocations: 12.56 kB / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.7947, allocations: 0.7169 MB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.7962, allocations: 0.5305 MB / 1.036 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.7963, allocations: 24.64 kB / 1.036 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.7965, allocations: 31.91 kB / 1.036 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.7983, allocations: 0.8473 MB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7983, allocations: 3.938 kB / 1.037 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.7984, allocations: 12 kB / 1.037 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/0.7986, allocations: 68.56 kB / 1.037 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.8008, allocations: 0.9467 MB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.8055, allocations: 2.937 MB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.8071, allocations: 0.5805 MB / 1.042 GB, free: 12.03 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/0.8078, allocations: 313 kB / 1.042 GB, free: 11.72 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.808, allocations: 89.28 kB / 1.042 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.808, allocations: 38.69 kB / 1.042 GB, free: 11.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 2.384e-06/0.8081, allocations: 4 kB / 1.042 GB, free: 11.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=36): time 0.01354/0.8216, allocations: 4.077 MB / 1.046 GB, free: 7.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.8217, allocations: 85.09 kB / 1.046 GB, free: 7.355 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.8224, allocations: 449.6 kB / 1.046 GB, free: 6.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.8224, allocations: 29.7 kB / 1.046 GB, free: 6.875 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.8227, allocations: 248.2 kB / 1.047 GB, free: 6.629 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.8228, allocations: 130.1 kB / 1.047 GB, free: 6.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.8229, allocations: 4 kB / 1.047 GB, free: 6.496 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.823, allocations: 350.8 kB / 1.047 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/0.824, allocations: 444.5 kB / 1.048 GB, free: 5.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.825, allocations: 0.5212 MB / 1.048 GB, free: 5.156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009942/0.826, allocations: 477.3 kB / 1.049 GB, free: 4.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8261, allocations: 0 / 1.049 GB, free: 4.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005769/0.8318, allocations: 1.928 MB / 1.05 GB, free: 2.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.832, allocations: 148 kB / 1.051 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.832, allocations: 7.953 kB / 1.051 GB, free: 2.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004452/0.8364, allocations: 1.098 MB / 1.052 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.837, allocations: 131.8 kB / 1.052 GB, free: 1.332 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009968/0.847, allocations: 6.405 MB / 1.058 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/0.8479, allocations: 111.8 kB / 1.058 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.8479, allocations: 19.98 kB / 1.058 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.848, allocations: 5.719 kB / 1.058 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004768/0.8527, allocations: 1.637 MB / 1.06 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8528, allocations: 4.125 kB / 1.06 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.856, allocations: 0.7975 MB / 1.061 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.8567, allocations: 143.8 kB / 1.061 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008415/0.8651, allocations: 5.562 MB / 1.066 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/0.8661, allocations: 115.9 kB / 1.066 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.8662, allocations: 19.98 kB / 1.066 GB, free: 1.965 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005048/0.8668, allocations: 329 kB / 1.067 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.867, allocations: 39.53 kB / 1.067 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005312/0.8723, allocations: 1.833 MB / 1.068 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.8723, allocations: 4 kB / 1.068 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.8723, allocations: 4.094 kB / 1.068 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.8724, allocations: 7.969 kB / 1.068 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006444/0.8788, allocations: 2.57 MB / 1.071 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.8789, allocations: 288 / 1.071 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.8792, allocations: 91.84 kB / 1.071 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004001/0.8833, allocations: 1.024 MB / 1.072 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.8833, allocations: 11.98 kB / 1.072 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009177/0.8925, allocations: 6.051 MB / 1.078 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8926, allocations: 7.984 kB / 1.078 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.8977, allocations: 1.795 MB / 1.08 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.898, allocations: 200.5 kB / 1.08 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8981, allocations: 4 kB / 1.08 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.8987, allocations: 99.86 kB / 1.08 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.8989, allocations: 35.94 kB / 1.08 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.899, allocations: 12 kB / 1.08 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004768/0.8995, allocations: 335.1 kB / 1.08 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8995, allocations: 0 / 1.08 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001333/0.9008, allocations: 292 kB / 1.081 GB, free: 2.82 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003744/0.9012, allocations: 151.2 kB / 1.081 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006396/0.9076, allocations: 2.548 MB / 1.083 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.9076, allocations: 0 / 1.083 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.9101, allocations: 0.9849 MB / 1.084 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.911, allocations: 129.1 kB / 1.084 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.9141, allocations: 1.445 MB / 1.086 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009363/0.9151, allocations: 0.9532 MB / 1.087 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006546/0.9157, allocations: 159.3 kB / 1.087 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.9159, allocations: 43.36 kB / 1.087 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of SimCode: time 7.62e-07/0.9159, allocations: 0 / 1.087 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.02997/0.9459, allocations: 16.41 MB / 1.103 GB, free: 11.97 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches