Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001132/0.001132, allocations: 191 kB / 17.29 MB, free: 5.516 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 14.98 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.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 69.86 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3331, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01291/0.346, allocations: 10.02 MB / 0.9609 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005675/0.3518, allocations: 3.037 MB / 0.9639 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.3527, allocations: 35.81 kB / 0.9639 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.3548, allocations: 0.6842 MB / 0.9646 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.3564, allocations: 0.6883 MB / 0.9653 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.358, allocations: 0.6393 MB / 0.9659 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.3613, allocations: 2.73 MB / 0.9685 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.3644, allocations: 2.542 MB / 0.971 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.3663, allocations: 1.13 MB / 0.9721 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.3683, allocations: 1.379 MB / 0.9735 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.3686, allocations: 216 kB / 0.9737 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000996/0.3696, allocations: 495.4 kB / 0.9742 GB, free: 364 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.3708, allocations: 0.9824 MB / 0.9751 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.372, allocations: 1.008 MB / 0.9761 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.3757, allocations: 3.404 MB / 0.9794 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3757, allocations: 7.938 kB / 0.9794 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3758, allocations: 0 / 0.9794 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.019e-05/0.3758, allocations: 0 / 0.9794 GB, free: 10.94 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003919/0.3798, allocations: 1.941 MB / 0.9813 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3798, allocations: 12.03 kB / 0.9813 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005646/0.3855, allocations: 0.8883 MB / 0.9822 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.3884, allocations: 1.161 MB / 0.9833 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/0.3886, allocations: 111.3 kB / 0.9834 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.389, allocations: 148.3 kB / 0.9836 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00513/0.3941, allocations: 3.028 MB / 0.9865 GB, free: 3.453 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.3942, allocations: 4 kB / 0.9865 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.3944, allocations: 59.97 kB / 0.9866 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/0.3946, allocations: 175 kB / 0.9868 GB, free: 3.219 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/0.3993, allocations: 2.608 MB / 0.9893 GB, free: 0.6055 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.4184, allocations: 13.49 MB / 1.002 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.4206, allocations: 1.295 MB / 1.004 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.422, allocations: 1.05 MB / 1.005 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.4221, allocations: 12.64 kB / 1.005 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.4222, allocations: 43.16 kB / 1.005 GB, free: 15.59 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 4.398e-06/0.4222, allocations: 0 / 1.005 GB, free: 15.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=139): time 0.07012/0.4923, allocations: 19.38 MB / 1.024 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4924, allocations: 68.72 kB / 1.024 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4937, allocations: 0.9183 MB / 1.025 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.4939, allocations: 49.7 kB / 1.025 GB, free: 11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.4944, allocations: 0.7321 MB / 1.025 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.4948, allocations: 489 kB / 1.026 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/0.4953, allocations: 295.4 kB / 1.026 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4955, allocations: 353.9 kB / 1.027 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.4973, allocations: 1.335 MB / 1.028 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.4995, allocations: 1.659 MB / 1.029 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.5037, allocations: 3.084 MB / 1.033 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.5037, allocations: 0 / 1.033 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.012/0.5158, allocations: 5.645 MB / 1.038 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.5158, allocations: 12.12 kB / 1.038 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.5159, allocations: 11.94 kB / 1.038 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008936/0.5248, allocations: 2.713 MB / 1.041 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/0.5257, allocations: 195.7 kB / 1.041 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03637/0.562, allocations: 25.71 MB / 1.066 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.5635, allocations: 91.95 kB / 1.066 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.5637, allocations: 56 kB / 1.066 GB, free: 15.79 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001099/0.5648, allocations: 0.7316 MB / 1.067 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.5651, allocations: 118.6 kB / 1.067 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.5758, allocations: 5.392 MB / 1.072 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5759, allocations: 12 kB / 1.072 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/0.5759, allocations: 24.5 kB / 1.072 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.576, allocations: 7.969 kB / 1.072 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.5918, allocations: 8.626 MB / 1.081 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5919, allocations: 8 kB / 1.081 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.5923, allocations: 119.8 kB / 1.081 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6012/1.194, allocations: 2.536 MB / 1.083 GB, free: 124 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003009/1.194, allocations: 25.12 kB / 1.083 GB, free: 124 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04199/1.236, allocations: 22.98 MB / 1.106 GB, free: 113.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.236, allocations: 4.547 kB / 1.106 GB, free: 113.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.249, allocations: 5.127 MB / 1.111 GB, free: 112 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.251, allocations: 475.6 kB / 1.111 GB, free: 111.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/1.251, allocations: 30.86 kB / 1.111 GB, free: 111.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.252, allocations: 84.67 kB / 1.111 GB, free: 111.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009753/1.253, allocations: 124 kB / 1.111 GB, free: 111.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.254, allocations: 38.48 kB / 1.111 GB, free: 111.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001191/1.255, allocations: 0.6481 MB / 1.112 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.255, allocations: 0 / 1.112 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003312/1.258, allocations: 0.7216 MB / 1.113 GB, free: 111.4 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/1.258, allocations: 144.6 kB / 1.113 GB, free: 111.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008311/1.267, allocations: 4.165 MB / 1.117 GB, free: 109.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.267, allocations: 1.031 kB / 1.117 GB, free: 109.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005789/1.273, allocations: 2.67 MB / 1.12 GB, free: 108.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.274, allocations: 218.9 kB / 1.12 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/1.282, allocations: 3.909 MB / 1.124 GB, free: 106.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.284, allocations: 1.701 MB / 1.125 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001031/1.285, allocations: 330.4 kB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/1.285, allocations: 61.84 kB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.563e-06/1.285, allocations: 1.312 kB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.05468/1.34, allocations: 38.96 MB / 1.164 GB, free: 77.16 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches