Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001223, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001165/0.001166, allocations: 189.5 kB / 17.31 MB, free: 5.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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 66.77 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.289, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01201/0.3011, allocations: 10.08 MB / 0.961 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00574/0.3069, allocations: 3.185 MB / 0.9641 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008241/0.3077, allocations: 35.81 kB / 0.9641 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3096, allocations: 0.5903 MB / 0.9647 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.3115, allocations: 0.7388 MB / 0.9654 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.3133, allocations: 0.7408 MB / 0.9662 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.3168, allocations: 2.992 MB / 0.9691 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.3198, allocations: 2.594 MB / 0.9716 GB, free: 3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.3217, allocations: 1.25 MB / 0.9728 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.324, allocations: 1.562 MB / 0.9744 GB, free: 184 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.3244, allocations: 236 kB / 0.9746 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.3254, allocations: 0.4954 MB / 0.9751 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.3265, allocations: 1.08 MB / 0.9761 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.3278, allocations: 1.109 MB / 0.9772 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.3315, allocations: 3.685 MB / 0.9808 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3316, allocations: 0 / 0.9808 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3316, allocations: 4 kB / 0.9808 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.722e-05/0.3316, allocations: 0 / 0.9808 GB, free: 9.559 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004343/0.336, allocations: 2.138 MB / 0.9829 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.336, allocations: 11.97 kB / 0.9829 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008263/0.3443, allocations: 1.325 MB / 0.9842 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.3477, allocations: 1.29 MB / 0.9855 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.3479, allocations: 119.3 kB / 0.9856 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/0.3484, allocations: 144.3 kB / 0.9857 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00581/0.3542, allocations: 3.446 MB / 0.9891 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.3543, allocations: 4 kB / 0.9891 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.3545, allocations: 63.97 kB / 0.9891 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/0.3548, allocations: 207.1 kB / 0.9893 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005527/0.3603, allocations: 3.128 MB / 0.9924 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.3791, allocations: 13.54 MB / 1.006 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.3815, allocations: 1.737 MB / 1.007 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.3835, allocations: 1.44 MB / 1.009 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.3836, allocations: 9 kB / 1.009 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3836, allocations: 43.56 kB / 1.009 GB, free: 11.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=104): time 4.147e-06/0.3836, allocations: 4 kB / 1.009 GB, free: 11.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=183): time 0.1366/0.5202, allocations: 36.67 MB / 1.045 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.5203, allocations: 69.41 kB / 1.045 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.5221, allocations: 1.05 MB / 1.046 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004529/0.5225, allocations: 61.62 kB / 1.046 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/0.5231, allocations: 0.7873 MB / 1.046 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007181/0.5239, allocations: 0.62 MB / 1.047 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007866/0.5247, allocations: 367.3 kB / 1.047 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5248, allocations: 305.1 kB / 1.048 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.5276, allocations: 1.936 MB / 1.05 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/0.5306, allocations: 2.293 MB / 1.052 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005829/0.5365, allocations: 4.382 MB / 1.056 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.5365, allocations: 4 kB / 1.056 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02018/0.5567, allocations: 9.025 MB / 1.065 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.5568, allocations: 15.94 kB / 1.065 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.5568, allocations: 8.656 kB / 1.065 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/0.5733, allocations: 4.982 MB / 1.07 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/0.5743, allocations: 191.7 kB / 1.07 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6829/1.257, allocations: 38.88 MB / 1.108 GB, free: 111.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.259, allocations: 100.1 kB / 1.108 GB, free: 111.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/1.26, allocations: 69.38 kB / 1.108 GB, free: 111.9 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001486/1.261, allocations: 0.8042 MB / 1.109 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/1.262, allocations: 142.1 kB / 1.109 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/1.281, allocations: 8.896 MB / 1.118 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/1.281, allocations: 17 kB / 1.118 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/1.282, allocations: 29.5 kB / 1.118 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.424e-05/1.282, allocations: 17.09 kB / 1.118 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/1.308, allocations: 13.27 MB / 1.131 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/1.308, allocations: 4.828 kB / 1.131 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/1.308, allocations: 119.5 kB / 1.131 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01538/1.324, allocations: 4.754 MB / 1.136 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/1.324, allocations: 31.75 kB / 1.136 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04248/1.366, allocations: 34.83 MB / 1.17 GB, free: 71.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.366, allocations: 4 kB / 1.17 GB, free: 71.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/1.383, allocations: 8.405 MB / 1.178 GB, free: 63.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.385, allocations: 0.6183 MB / 1.178 GB, free: 62.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/1.385, allocations: 44.5 kB / 1.178 GB, free: 62.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.387, allocations: 87.89 kB / 1.179 GB, free: 62.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.388, allocations: 157.7 kB / 1.179 GB, free: 62.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.388, allocations: 48 kB / 1.179 GB, free: 62.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001016/1.389, allocations: 0.7382 MB / 1.179 GB, free: 61.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/1.389, allocations: 0 / 1.179 GB, free: 61.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004528/1.393, allocations: 1.004 MB / 1.18 GB, free: 60.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003707/1.394, allocations: 155.9 kB / 1.181 GB, free: 60.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008568/1.402, allocations: 5.875 MB / 1.186 GB, free: 54.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.402, allocations: 0 / 1.186 GB, free: 54.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006831/1.409, allocations: 3.842 MB / 1.19 GB, free: 50.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.411, allocations: 239.1 kB / 1.19 GB, free: 50.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/1.419, allocations: 4.939 MB / 1.195 GB, free: 45.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.42, allocations: 1.851 MB / 1.197 GB, free: 43.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0008222/1.421, allocations: 365.3 kB / 1.197 GB, free: 43.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/1.421, allocations: 59.44 kB / 1.197 GB, free: 43.16 MB / 0.8575 GB Notification: Performance of SimCode: time 1.683e-06/1.421, allocations: 0 / 1.197 GB, free: 43.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.07224/1.493, allocations: 59.13 MB / 1.255 GB, free: 224 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches