Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, 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.001294/0.001294, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.707/2.707, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7266, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01677/0.7434, allocations: 14.71 MB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.7584, allocations: 10.24 MB / 1.041 GB, free: 9.641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.7601, allocations: 55.69 kB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004604/0.7648, allocations: 1.57 MB / 1.043 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/0.771, allocations: 1.643 MB / 1.044 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.7732, allocations: 0.6862 MB / 1.045 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.7775, allocations: 2.759 MB / 1.048 GB, free: 2.918 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.7803, allocations: 1.586 MB / 1.049 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.7828, allocations: 1.519 MB / 1.051 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.785, allocations: 1.199 MB / 1.052 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.7856, allocations: 160 kB / 1.052 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.7875, allocations: 0.7838 MB / 1.053 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008786/0.7884, allocations: 0.6154 MB / 1.053 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.7901, allocations: 0.9522 MB / 1.054 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.7942, allocations: 2.78 MB / 1.057 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7942, allocations: 0 / 1.057 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7942, allocations: 4 kB / 1.057 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001122/0.7943, allocations: 0 / 1.057 GB, free: 9.266 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005195/0.7995, allocations: 2.17 MB / 1.059 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7996, allocations: 8.031 kB / 1.059 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.8109, allocations: 2.112 MB / 1.061 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.8138, allocations: 1.206 MB / 1.062 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.814, allocations: 98.61 kB / 1.063 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/0.8145, allocations: 124.1 kB / 1.063 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009574/0.8241, allocations: 2.666 MB / 1.065 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-05/0.8242, allocations: 11.92 kB / 1.065 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/0.8247, allocations: 51.98 kB / 1.065 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00101/0.8257, allocations: 194.1 kB / 1.066 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.8377, allocations: 2.791 MB / 1.068 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.8617, allocations: 10.51 MB / 1.078 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009794/0.8716, allocations: 2.34 MB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/0.8758, allocations: 1.276 MB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.8759, allocations: 9 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.876, allocations: 43.56 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 3.065e-06/0.876, allocations: 0 / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06151/0.9375, allocations: 16.48 MB / 1.098 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.9376, allocations: 68.72 kB / 1.098 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.94, allocations: 1.172 MB / 1.099 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.9403, allocations: 49.7 kB / 1.099 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/0.9409, allocations: 0.7475 MB / 1.1 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008224/0.9418, allocations: 0.5121 MB / 1.101 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008852/0.9427, allocations: 291.4 kB / 1.101 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9429, allocations: 309 kB / 1.101 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/0.9467, allocations: 1.51 MB / 1.103 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/0.9511, allocations: 1.784 MB / 1.104 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.9619, allocations: 3.369 MB / 1.108 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.962, allocations: 4 kB / 1.108 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02008/0.9821, allocations: 5.268 MB / 1.113 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.9822, allocations: 8 kB / 1.113 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.9822, allocations: 8.875 kB / 1.113 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009853/0.9921, allocations: 1.892 MB / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.9949, allocations: 423.2 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04235/1.037, allocations: 24.15 MB / 1.139 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/1.041, allocations: 307.6 kB / 1.139 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/1.042, allocations: 67.95 kB / 1.139 GB, free: 2.797 MB / 0.8887 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001697/1.044, allocations: 465.4 kB / 1.14 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007978/1.044, allocations: 177.9 kB / 1.14 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/1.064, allocations: 5.32 MB / 1.145 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/1.064, allocations: 20 kB / 1.145 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.18e-05/1.064, allocations: 16 kB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/1.064, allocations: 7.969 kB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02438/1.088, allocations: 7.43 MB / 1.152 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.089, allocations: 0 / 1.152 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.091, allocations: 351.4 kB / 1.153 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008322/1.099, allocations: 1.716 MB / 1.154 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/1.099, allocations: 43.97 kB / 1.154 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02886/1.128, allocations: 23.34 MB / 1.177 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.128, allocations: 0 / 1.177 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.141, allocations: 4.885 MB / 1.182 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.142, allocations: 494.8 kB / 1.182 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/1.143, allocations: 35.98 kB / 1.182 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.145, allocations: 311.5 kB / 1.183 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006139/1.146, allocations: 153 kB / 1.183 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.146, allocations: 51.97 kB / 1.183 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00143/1.147, allocations: 0.7977 MB / 1.184 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.147, allocations: 0 / 1.184 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002659/1.15, allocations: 0.6562 MB / 1.184 GB, free: 3.148 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004286/1.15, allocations: 143.1 kB / 1.184 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.164, allocations: 5.425 MB / 1.19 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/1.164, allocations: 4 kB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00768/1.171, allocations: 3.347 MB / 1.193 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.175, allocations: 0.5594 MB / 1.193 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.185, allocations: 5.003 MB / 1.198 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.187, allocations: 1.568 MB / 1.2 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001859/1.189, allocations: 386.4 kB / 1.2 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/1.19, allocations: 107.3 kB / 1.2 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of SimCode: time 1.132e-06/1.19, allocations: 0 / 1.2 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of Templates: time 0.08081/1.27, allocations: 45.08 MB / 1.244 GB, free: 5.723 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches