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.001722/0.001722, allocations: 105.6 kB / 15.99 MB, free: 6.355 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.00199/0.00199, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.6 MB, free: 15.44 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.299/2.299, allocations: 390.2 MB / 0.665 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.05 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008974/0.322, allocations: 6.751 MB / 0.9564 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005328/0.3274, allocations: 3.009 MB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.3283, allocations: 31.75 kB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.3309, allocations: 0.8953 MB / 0.9602 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.3325, allocations: 465.7 kB / 0.9607 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3337, allocations: 390.9 kB / 0.961 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.3354, allocations: 1.228 MB / 0.9622 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3367, allocations: 0.7288 MB / 0.9629 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009714/0.3377, allocations: 478.3 kB / 0.9634 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.3387, allocations: 0.5371 MB / 0.9639 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.3389, allocations: 71.94 kB / 0.964 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008946/0.3398, allocations: 371.3 kB / 0.9643 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.3402, allocations: 311.1 kB / 0.9646 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.3408, allocations: 453.7 kB / 0.9651 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.342, allocations: 0.9314 MB / 0.966 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3421, allocations: 4 kB / 0.966 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3421, allocations: 0 / 0.966 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.595e-05/0.3421, allocations: 7.938 kB / 0.966 GB, free: 8.594 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.00243/0.3445, allocations: 1.157 MB / 0.9671 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3446, allocations: 12.03 kB / 0.9671 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.3462, allocations: 235.6 kB / 0.9674 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.3471, allocations: 0.5452 MB / 0.9679 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.3472, allocations: 49.67 kB / 0.9679 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3473, allocations: 68.34 kB / 0.968 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.3489, allocations: 1.085 MB / 0.9691 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.349, allocations: 11.92 kB / 0.9691 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.3491, allocations: 27.98 kB / 0.9691 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.3492, allocations: 85.25 kB / 0.9692 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.3504, allocations: 0.7504 MB / 0.9699 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.356, allocations: 5.897 MB / 0.9757 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/0.357, allocations: 0.5514 MB / 0.9762 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.3575, allocations: 334 kB / 0.9765 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.3575, allocations: 8.422 kB / 0.9765 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3576, allocations: 39 kB / 0.9766 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/0.3576, allocations: 0 / 0.9766 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.003938/0.3615, allocations: 1.986 MB / 0.9785 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3616, allocations: 59.78 kB / 0.9786 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/0.3623, allocations: 0.5509 MB / 0.9791 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.3623, allocations: 33.7 kB / 0.9791 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.3626, allocations: 410.9 kB / 0.9795 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.3627, allocations: 173.6 kB / 0.9797 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.3629, allocations: 126.5 kB / 0.9798 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3631, allocations: 378.7 kB / 0.9802 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.3635, allocations: 273.8 kB / 0.9804 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.3641, allocations: 496.9 kB / 0.9809 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.3651, allocations: 0.8094 MB / 0.9817 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3651, allocations: 4 kB / 0.9817 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001831/0.3669, allocations: 1.083 MB / 0.9828 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3669, allocations: 8 kB / 0.9828 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.367, allocations: 4 kB / 0.9828 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008976/0.3679, allocations: 291.8 kB / 0.9831 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.3684, allocations: 127.7 kB / 0.9832 GB, free: 5.965 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.3749, allocations: 7.145 MB / 0.9902 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/0.3757, allocations: 35.97 kB / 0.9902 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.3758, allocations: 40 kB / 0.9902 GB, free: 14.18 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.0004314/0.3762, allocations: 249.5 kB / 0.9905 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3764, allocations: 67.25 kB / 0.9905 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.378, allocations: 0.8885 MB / 0.9914 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.378, allocations: 4 kB / 0.9914 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.378, allocations: 4 kB / 0.9914 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.378, allocations: 3.984 kB / 0.9914 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.3807, allocations: 1.724 MB / 0.9931 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3808, allocations: 0 / 0.9931 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.381, allocations: 63.83 kB / 0.9932 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/0.3818, allocations: 271.4 kB / 0.9934 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.3819, allocations: 8 kB / 0.9934 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/0.3882, allocations: 7.138 MB / 1 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3883, allocations: 0 / 1 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3899, allocations: 0.9758 MB / 1.001 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.3902, allocations: 192.2 kB / 1.002 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.3904, allocations: 12 kB / 1.002 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.3908, allocations: 35.89 kB / 1.002 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3909, allocations: 47.89 kB / 1.002 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.391, allocations: 8 kB / 1.002 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004759/0.3915, allocations: 387.1 kB / 1.002 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.116e-06/0.3915, allocations: 0 / 1.002 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000901/0.3924, allocations: 227.9 kB / 1.002 GB, free: 1.152 MB / 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.0001765/0.3926, allocations: 123.1 kB / 1.002 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.3948, allocations: 1.33 MB / 1.004 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3948, allocations: 0 / 1.004 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3961, allocations: 0.8975 MB / 1.005 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3972, allocations: 223.6 kB / 1.005 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.3998, allocations: 1.698 MB / 1.006 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.4004, allocations: 1.013 MB / 1.007 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4006, allocations: 47.44 kB / 1.007 GB, free: 11.64 MB / 0.795 GB Notification: Performance of SimCode: time 9.72e-07/0.4006, allocations: 0 / 1.007 GB, free: 11.64 MB / 0.795 GB Notification: Performance of Templates: time 0.02485/0.4254, allocations: 20.63 MB / 1.028 GB, free: 7.051 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