Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002327/0.002327, allocations: 195 kB / 16.14 MB, free: 6.648 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.795, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008982/0.8041, allocations: 6.807 MB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005463/0.8096, allocations: 3.082 MB / 0.9586 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.8107, allocations: 25.72 kB / 0.9586 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.8132, allocations: 0.8865 MB / 0.9595 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.8148, allocations: 477.8 kB / 0.9599 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.8161, allocations: 406.4 kB / 0.9603 GB, free: 140 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.8184, allocations: 1.586 MB / 0.9619 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.8196, allocations: 0.6497 MB / 0.9625 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007805/0.8203, allocations: 419.9 kB / 0.9629 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.8211, allocations: 0.5255 MB / 0.9634 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.8212, allocations: 47.19 kB / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009631/0.8221, allocations: 465 kB / 0.9639 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.8225, allocations: 284.4 kB / 0.9642 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.8229, allocations: 432 kB / 0.9646 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.8243, allocations: 1.21 MB / 0.9658 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8243, allocations: 0.8438 kB / 0.9658 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8243, allocations: 0 / 0.9658 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.8243, allocations: 0 / 0.9658 GB, free: 12.86 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002215/0.8265, allocations: 1.167 MB / 0.9669 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8266, allocations: 9.25 kB / 0.9669 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.8283, allocations: 239.9 kB / 0.9671 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.8292, allocations: 0.5582 MB / 0.9677 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.8293, allocations: 48.11 kB / 0.9677 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8294, allocations: 69.23 kB / 0.9678 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.8311, allocations: 1.093 MB / 0.9689 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.8311, allocations: 2.625 kB / 0.9689 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.8312, allocations: 37.52 kB / 0.9689 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.8314, allocations: 88.25 kB / 0.969 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.8326, allocations: 0.7528 MB / 0.9697 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.8384, allocations: 5.886 MB / 0.9755 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.8395, allocations: 0.5559 MB / 0.976 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.84, allocations: 326.9 kB / 0.9763 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.8401, allocations: 5.281 kB / 0.9763 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.8401, allocations: 45.72 kB / 0.9764 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.395e-06/0.8401, allocations: 0 / 0.9764 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004226/0.8444, allocations: 1.982 MB / 0.9783 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.8444, allocations: 61.09 kB / 0.9784 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/0.8452, allocations: 0.5667 MB / 0.9789 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.8452, allocations: 37.08 kB / 0.979 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.8455, allocations: 419.5 kB / 0.9794 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.8457, allocations: 172.5 kB / 0.9795 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.8459, allocations: 123.9 kB / 0.9796 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8461, allocations: 382 kB / 0.98 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.8466, allocations: 275.6 kB / 0.9803 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.8471, allocations: 497 kB / 0.9807 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.8481, allocations: 0.8055 MB / 0.9815 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8482, allocations: 4 kB / 0.9815 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001842/0.85, allocations: 1.087 MB / 0.9826 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.85, allocations: 8 kB / 0.9826 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8501, allocations: 8 kB / 0.9826 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/0.851, allocations: 275.4 kB / 0.9829 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.8514, allocations: 127.7 kB / 0.983 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.8577, allocations: 6.598 MB / 0.9894 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.8585, allocations: 39.97 kB / 0.9895 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.8585, allocations: 28 kB / 0.9895 GB, free: 7.043 MB / 0.7481 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004189/0.8589, allocations: 257.6 kB / 0.9897 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.8591, allocations: 71.16 kB / 0.9898 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.8606, allocations: 0.8886 MB / 0.9907 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.8607, allocations: 11.94 kB / 0.9907 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8607, allocations: 4.188 kB / 0.9907 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.8607, allocations: 3.984 kB / 0.9907 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.8633, allocations: 1.724 MB / 0.9924 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.8633, allocations: 7.938 kB / 0.9924 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.8636, allocations: 63.89 kB / 0.9925 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.8644, allocations: 263.2 kB / 0.9927 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.8644, allocations: 12 kB / 0.9927 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005939/0.8703, allocations: 6.579 MB / 0.9991 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8704, allocations: 4.031 kB / 0.9991 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.872, allocations: 0.9874 MB / 1 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.8723, allocations: 192.2 kB / 1 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.8724, allocations: 15.94 kB / 1 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.8728, allocations: 27.97 kB / 1 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8729, allocations: 47.88 kB / 1 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.8729, allocations: 16 kB / 1 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004162/0.8734, allocations: 387.1 kB / 1.001 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8734, allocations: 0 / 1.001 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008197/0.8742, allocations: 224 kB / 1.001 GB, free: 10.56 MB / 0.7637 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.8744, allocations: 124.9 kB / 1.001 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.8762, allocations: 1.264 MB / 1.002 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8762, allocations: 0 / 1.002 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.8774, allocations: 0.8974 MB / 1.003 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.8784, allocations: 209.2 kB / 1.003 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.8806, allocations: 1.654 MB / 1.005 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.8811, allocations: 1.016 MB / 1.006 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.8816, allocations: 122 kB / 1.006 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.8817, allocations: 43.44 kB / 1.006 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of SimCode: time 2.41e-07/0.8817, allocations: 0 / 1.006 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of Templates: time 0.01712/0.8988, allocations: 10.79 MB / 1.017 GB, free: 10.39 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches