Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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,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.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 185.3 kB / 16.92 MB, free: 6.77 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004269, allocations: 15.98 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7056, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01082/0.7165, allocations: 10.37 MB / 0.9658 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.7305, allocations: 8.676 MB / 0.9743 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.7325, allocations: 52.25 kB / 0.9744 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.7336, allocations: 276.4 kB / 0.9746 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.739, allocations: 1.409 MB / 0.976 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.741, allocations: 0.6084 MB / 0.9766 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.7455, allocations: 2.893 MB / 0.9794 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00379/0.7494, allocations: 1.952 MB / 0.9813 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.7515, allocations: 0.8169 MB / 0.9821 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.7534, allocations: 0.9445 MB / 0.983 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.7536, allocations: 62.88 kB / 0.9831 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.7556, allocations: 0.8811 MB / 0.984 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.7562, allocations: 494.3 kB / 0.9844 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009774/0.7571, allocations: 0.798 MB / 0.9852 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.7596, allocations: 1.979 MB / 0.9872 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7596, allocations: 0 / 0.9872 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7597, allocations: 3.938 kB / 0.9872 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.504e-05/0.7597, allocations: 0 / 0.9872 GB, free: 15.09 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003232/0.7629, allocations: 1.718 MB / 0.9888 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.763, allocations: 8.031 kB / 0.9888 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.7746, allocations: 2.109 MB / 0.9909 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.7772, allocations: 1.122 MB / 0.992 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.7773, allocations: 94.64 kB / 0.9921 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.7775, allocations: 120.1 kB / 0.9922 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/0.7833, allocations: 2.502 MB / 0.9946 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/0.7834, allocations: 19.84 kB / 0.9947 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.7836, allocations: 44 kB / 0.9947 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003641/0.7839, allocations: 130.1 kB / 0.9948 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/0.7916, allocations: 2.592 MB / 0.9974 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.8061, allocations: 10.12 MB / 1.007 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006331/0.8125, allocations: 1.999 MB / 1.009 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/0.8154, allocations: 0.9949 MB / 1.01 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.8155, allocations: 12.44 kB / 1.01 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.8155, allocations: 39 kB / 1.01 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.8155, allocations: 0 / 1.01 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.03265/0.8482, allocations: 8.769 MB / 1.019 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.8483, allocations: 64.06 kB / 1.019 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.8499, allocations: 1.108 MB / 1.02 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.8501, allocations: 37.7 kB / 1.02 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.8506, allocations: 0.7301 MB / 1.021 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.8509, allocations: 287.9 kB / 1.021 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.8511, allocations: 73.69 kB / 1.021 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8513, allocations: 345.9 kB / 1.021 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.8543, allocations: 1.095 MB / 1.022 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/0.8575, allocations: 1.329 MB / 1.024 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006401/0.8639, allocations: 2.429 MB / 1.026 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.864, allocations: 0 / 1.026 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009413/0.8734, allocations: 3.316 MB / 1.029 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.8735, allocations: 8 kB / 1.029 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.8735, allocations: 8 kB / 1.029 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.8765, allocations: 0.7874 MB / 1.03 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.8785, allocations: 423.3 kB / 1.031 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.8947, allocations: 14.71 MB / 1.045 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.8973, allocations: 311.5 kB / 1.045 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.8976, allocations: 51.95 kB / 1.045 GB, free: 1.199 MB / 0.795 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009999/0.8986, allocations: 393.5 kB / 1.046 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.899, allocations: 154.1 kB / 1.046 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009647/0.9086, allocations: 3.241 MB / 1.049 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.9087, allocations: 11.94 kB / 1.049 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.858e-05/0.9087, allocations: 8 kB / 1.049 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.9087, allocations: 7.969 kB / 1.049 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.9213, allocations: 4.951 MB / 1.054 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.9213, allocations: 4 kB / 1.054 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.9231, allocations: 363.7 kB / 1.054 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.9257, allocations: 0.7019 MB / 1.055 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.9258, allocations: 31.97 kB / 1.055 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.9409, allocations: 14.33 MB / 1.069 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9409, allocations: 4.062 kB / 1.069 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009098/0.95, allocations: 3.085 MB / 1.072 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/0.951, allocations: 383.2 kB / 1.072 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/0.9513, allocations: 19.94 kB / 1.072 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/0.9535, allocations: 303.5 kB / 1.073 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/0.9539, allocations: 80.5 kB / 1.073 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.954, allocations: 43.95 kB / 1.073 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001315/0.9553, allocations: 0.7327 MB / 1.073 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9554, allocations: 0 / 1.073 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001975/0.9573, allocations: 439.9 kB / 1.074 GB, free: 2.578 MB / 0.8262 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0003359/0.9577, allocations: 131.1 kB / 1.074 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009112/0.9668, allocations: 3.656 MB / 1.077 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.9669, allocations: 4 kB / 1.077 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/0.9721, allocations: 2.391 MB / 1.08 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/0.9757, allocations: 485.7 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00953/0.9852, allocations: 4.204 MB / 1.084 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.9869, allocations: 1.399 MB / 1.086 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/0.9876, allocations: 127.3 kB / 1.086 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of SimCode: time 2.194e-06/0.9877, allocations: 0 / 1.086 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of Templates: time 0.08187/1.07, allocations: 74.77 MB / 1.159 GB, free: 11.19 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches