Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 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_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.0008782/0.0008784, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.008264/0.008265, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.463/2.463, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 15.98 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7605, allocations: 142.4 MB / 0.9551 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00892/0.7695, allocations: 5.749 MB / 0.9607 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.7766, allocations: 3.148 MB / 0.9637 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009077/0.7775, allocations: 25.31 kB / 0.9638 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.7782, allocations: 117.7 kB / 0.9639 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.7799, allocations: 444.4 kB / 0.9643 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.7816, allocations: 463.2 kB / 0.9647 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002778/0.7844, allocations: 1.465 MB / 0.9662 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/0.7876, allocations: 0.9948 MB / 0.9671 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.7888, allocations: 358 kB / 0.9675 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.7902, allocations: 441.3 kB / 0.9679 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.7905, allocations: 30.56 kB / 0.9679 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.7925, allocations: 0.5813 MB / 0.9685 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.793, allocations: 256.1 kB / 0.9687 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.7941, allocations: 387.2 kB / 0.9691 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.7964, allocations: 1.163 MB / 0.9703 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7964, allocations: 1.406 kB / 0.9703 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.885e-06/0.7964, allocations: 0 / 0.9703 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.245e-05/0.7964, allocations: 0 / 0.9703 GB, free: 12.77 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00237/0.7988, allocations: 0.9166 MB / 0.9711 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7989, allocations: 9.375 kB / 0.9712 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.8008, allocations: 222.6 kB / 0.9714 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.8019, allocations: 0.5396 MB / 0.9719 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.802, allocations: 49.73 kB / 0.9719 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.8021, allocations: 64.61 kB / 0.972 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.8046, allocations: 1.031 MB / 0.973 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.8047, allocations: 10.58 kB / 0.973 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-05/0.8048, allocations: 29.23 kB / 0.9731 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.8049, allocations: 66.53 kB / 0.9731 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.8063, allocations: 0.6906 MB / 0.9738 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005836/0.8122, allocations: 5.783 MB / 0.9794 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.8131, allocations: 0.5923 MB / 0.98 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008605/0.814, allocations: 418.9 kB / 0.9804 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.814, allocations: 8.703 kB / 0.9804 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.8141, allocations: 36.19 kB / 0.9805 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/0.8141, allocations: 0 / 0.9805 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004781/0.8189, allocations: 2.076 MB / 0.9825 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.8189, allocations: 55.41 kB / 0.9825 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.8195, allocations: 462.7 kB / 0.983 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.8195, allocations: 33.7 kB / 0.983 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.8198, allocations: 395 kB / 0.9834 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.8199, allocations: 153.8 kB / 0.9835 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.82, allocations: 49.69 kB / 0.9836 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8202, allocations: 362.8 kB / 0.9839 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.8205, allocations: 245.2 kB / 0.9842 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.821, allocations: 464.9 kB / 0.9846 GB, free: 252 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/0.8219, allocations: 0.748 MB / 0.9853 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.822, allocations: 0 / 0.9853 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001846/0.8238, allocations: 1.065 MB / 0.9864 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.8238, allocations: 13.39 kB / 0.9864 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.8239, allocations: 8 kB / 0.9864 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.8249, allocations: 335.7 kB / 0.9867 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.8252, allocations: 99.83 kB / 0.9868 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006775/0.832, allocations: 6.943 MB / 0.9936 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.8326, allocations: 32.03 kB / 0.9936 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.8326, allocations: 31.98 kB / 0.9937 GB, free: 6.316 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 (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.0004038/0.8331, allocations: 245.5 kB / 0.9939 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.8332, allocations: 59.62 kB / 0.9939 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.8349, allocations: 0.908 MB / 0.9948 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.8349, allocations: 11.97 kB / 0.9948 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8349, allocations: 7.938 kB / 0.9948 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.8349, allocations: 0 / 0.9948 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.8376, allocations: 1.704 MB / 0.9965 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.8377, allocations: 4 kB / 0.9965 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.8378, allocations: 39.91 kB / 0.9966 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009374/0.8388, allocations: 323.2 kB / 0.9969 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.8388, allocations: 8 kB / 0.9969 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006478/0.8453, allocations: 6.935 MB / 1.004 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8453, allocations: 4 kB / 1.004 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.8471, allocations: 1.023 MB / 1.005 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.8474, allocations: 172.4 kB / 1.005 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.8475, allocations: 15.98 kB / 1.005 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.8478, allocations: 27.97 kB / 1.005 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.8479, allocations: 39.88 kB / 1.005 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.8479, allocations: 16.22 kB / 1.005 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003485/0.8483, allocations: 310.9 kB / 1.005 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8483, allocations: 0 / 1.005 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008552/0.8491, allocations: 195.9 kB / 1.005 GB, free: 9.562 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 (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.0001708/0.8493, allocations: 123.1 kB / 1.006 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.8512, allocations: 1.199 MB / 1.007 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8512, allocations: 0 / 1.007 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.8525, allocations: 0.8696 MB / 1.008 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8536, allocations: 188.7 kB / 1.008 GB, free: 7.078 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.8558, allocations: 1.549 MB / 1.009 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.8564, allocations: 0.9921 MB / 1.01 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.8567, allocations: 97.19 kB / 1.01 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.8568, allocations: 39.42 kB / 1.01 GB, free: 4.332 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/0.8568, allocations: 0 / 1.01 GB, free: 4.332 MB / 0.7637 GB Notification: Performance of Templates: time 0.01706/0.8739, allocations: 9.463 MB / 1.02 GB, free: 10.97 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches