Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.001565/0.001565, allocations: 109.3 kB / 16.27 MB, free: 5.984 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.001146/0.001146, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.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.406/2.406, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.75 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2729, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009296/0.2823, allocations: 6.731 MB / 0.9569 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005409/0.2877, allocations: 3.044 MB / 0.9598 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007382/0.2885, allocations: 27.81 kB / 0.9599 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.2912, allocations: 0.9413 MB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.2927, allocations: 0.5051 MB / 0.9613 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.2939, allocations: 422.6 kB / 0.9617 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.2955, allocations: 1.221 MB / 0.9629 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.2966, allocations: 0.6742 MB / 0.9635 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008185/0.2975, allocations: 466.3 kB / 0.964 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/0.2984, allocations: 0.5176 MB / 0.9645 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.2986, allocations: 68 kB / 0.9645 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.2995, allocations: 379.2 kB / 0.9649 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.2999, allocations: 315.1 kB / 0.9652 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.3006, allocations: 449.7 kB / 0.9656 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3021, allocations: 1.188 MB / 0.9668 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3021, allocations: 0 / 0.9668 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3021, allocations: 8 kB / 0.9668 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.576e-05/0.3022, allocations: 0 / 0.9668 GB, free: 7.883 MB / 0.7481 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.002296/0.3045, allocations: 1.166 MB / 0.9679 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3045, allocations: 8.031 kB / 0.9679 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.3062, allocations: 235.6 kB / 0.9682 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.3071, allocations: 0.5414 MB / 0.9687 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.3071, allocations: 49.67 kB / 0.9687 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.3073, allocations: 60.36 kB / 0.9688 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.3088, allocations: 1.093 MB / 0.9699 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/0.3089, allocations: 7.938 kB / 0.9699 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.309, allocations: 27.98 kB / 0.9699 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.3092, allocations: 85.25 kB / 0.97 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3104, allocations: 0.7582 MB / 0.9707 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005532/0.3159, allocations: 5.897 MB / 0.9765 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.317, allocations: 0.5571 MB / 0.977 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.3174, allocations: 330 kB / 0.9773 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3174, allocations: 4.438 kB / 0.9773 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3175, allocations: 39 kB / 0.9774 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 3.547e-06/0.3175, allocations: 3.938 kB / 0.9774 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.003854/0.3213, allocations: 1.986 MB / 0.9793 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3214, allocations: 59.83 kB / 0.9794 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.3221, allocations: 0.547 MB / 0.9799 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3221, allocations: 33.7 kB / 0.9799 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.3224, allocations: 418.9 kB / 0.9803 GB, free: 9.215 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3226, allocations: 173.6 kB / 0.9805 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3228, allocations: 130.5 kB / 0.9806 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3229, allocations: 374.7 kB / 0.981 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.3234, allocations: 273.8 kB / 0.9813 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.3239, allocations: 493 kB / 0.9817 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009849/0.3249, allocations: 0.8132 MB / 0.9825 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3249, allocations: 4 kB / 0.9825 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001804/0.3268, allocations: 1.086 MB / 0.9836 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3268, allocations: 8 kB / 0.9836 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3268, allocations: 8.859 kB / 0.9836 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008233/0.3276, allocations: 283.1 kB / 0.9839 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.3281, allocations: 123.8 kB / 0.984 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006806/0.3349, allocations: 7.137 MB / 0.991 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.3356, allocations: 44.02 kB / 0.991 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.3357, allocations: 32 kB / 0.991 GB, free: 13.47 MB / 0.7794 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.0004082/0.3361, allocations: 253.5 kB / 0.9913 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3363, allocations: 67.25 kB / 0.9913 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3379, allocations: 0.8885 MB / 0.9922 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3379, allocations: 4 kB / 0.9922 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.3379, allocations: 4 kB / 0.9922 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3379, allocations: 3.984 kB / 0.9922 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3406, allocations: 1.72 MB / 0.9939 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3406, allocations: 192 / 0.9939 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.3409, allocations: 67.83 kB / 0.994 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007492/0.3416, allocations: 271.1 kB / 0.9942 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.3417, allocations: 8 kB / 0.9942 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/0.348, allocations: 7.134 MB / 1.001 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.348, allocations: 3.938 kB / 1.001 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3496, allocations: 0.9758 MB / 1.002 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.3499, allocations: 196.1 kB / 1.002 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.35, allocations: 8 kB / 1.002 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.3504, allocations: 39.91 kB / 1.002 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3506, allocations: 43.88 kB / 1.002 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.3506, allocations: 12 kB / 1.002 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004673/0.3511, allocations: 387.1 kB / 1.003 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3511, allocations: 0 / 1.003 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008788/0.352, allocations: 224 kB / 1.003 GB, free: 448 kB / 0.7794 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.00018/0.3522, allocations: 115.2 kB / 1.003 GB, free: 324 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.3544, allocations: 1.338 MB / 1.004 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3544, allocations: 4.125 kB / 1.004 GB, free: 14.92 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3556, allocations: 0.8973 MB / 1.005 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3568, allocations: 222.6 kB / 1.006 GB, free: 13.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.3595, allocations: 1.398 MB / 1.007 GB, free: 12.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.3603, allocations: 1.009 MB / 1.008 GB, free: 11.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.3604, allocations: 47.42 kB / 1.008 GB, free: 11.22 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/0.3604, allocations: 0 / 1.008 GB, free: 11.22 MB / 0.795 GB Notification: Performance of Templates: time 0.02585/0.3863, allocations: 20.64 MB / 1.028 GB, free: 6.629 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches