Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002584/0.002584, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00286/0.00286, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.057/3.057, allocations: 377.9 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0.6562 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.596e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0158/0.01582, allocations: 10.08 MB / 0.8207 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006493/0.02232, allocations: 3.22 MB / 0.8238 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.02282, allocations: 53.28 kB / 0.8239 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.02464, allocations: 0.615 MB / 0.8245 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.02633, allocations: 0.7875 MB / 0.8252 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.02802, allocations: 0.7586 MB / 0.826 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.03216, allocations: 3.046 MB / 0.8289 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.03453, allocations: 1.412 MB / 0.8303 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.03742, allocations: 1.752 MB / 0.832 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.0401, allocations: 1.609 MB / 0.8336 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.04052, allocations: 239.7 kB / 0.8338 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.04182, allocations: 491.2 kB / 0.8343 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.04323, allocations: 1.165 MB / 0.8354 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.04448, allocations: 0.7874 MB / 0.8362 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.0495, allocations: 3.81 MB / 0.8399 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.0495, allocations: 0 / 0.8399 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.503e-06/0.0495, allocations: 0 / 0.8399 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.289e-05/0.04956, allocations: 3.938 kB / 0.8399 GB, free: 4.238 MB / 0.7917 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.005396/0.05495, allocations: 2.436 MB / 0.8423 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.05499, allocations: 9.125 kB / 0.8423 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00997/0.06496, allocations: 1.666 MB / 0.844 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.06845, allocations: 1.184 MB / 0.8451 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.06858, allocations: 119.4 kB / 0.8452 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.06901, allocations: 144.3 kB / 0.8454 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/0.0735, allocations: 2.034 MB / 0.8473 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/0.07355, allocations: 12.11 kB / 0.8474 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.07379, allocations: 64.34 kB / 0.8474 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000307/0.0741, allocations: 207.1 kB / 0.8476 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.07748, allocations: 1.07 MB / 0.8487 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02012/0.0976, allocations: 10.67 MB / 0.8591 GB, free: 120 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.09937, allocations: 0.6707 MB / 0.8597 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.1006, allocations: 498.2 kB / 0.8602 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.1007, allocations: 24.94 kB / 0.8602 GB, free: 14.92 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.1008, allocations: 42.39 kB / 0.8603 GB, free: 14.87 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.1008, allocations: 0 / 0.8603 GB, free: 14.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.03985/0.1406, allocations: 9.771 MB / 0.8698 GB, free: 5.082 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.1407, allocations: 77.41 kB / 0.8699 GB, free: 4.996 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.1424, allocations: 1.12 MB / 0.871 GB, free: 3.859 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.1427, allocations: 57.7 kB / 0.871 GB, free: 3.797 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008542/0.1436, allocations: 0.9018 MB / 0.8719 GB, free: 2.883 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009067/0.1445, allocations: 0.7249 MB / 0.8726 GB, free: 2.152 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009493/0.1454, allocations: 413.1 kB / 0.873 GB, free: 1.742 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002541/0.1457, allocations: 476.8 kB / 0.8735 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.1473, allocations: 0.5661 MB / 0.874 GB, free: 0.707 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.1494, allocations: 1.134 MB / 0.8751 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.1536, allocations: 1.935 MB / 0.877 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.1536, allocations: 0 / 0.877 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01877/0.1724, allocations: 5.05 MB / 0.882 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.1724, allocations: 8.656 kB / 0.882 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.1724, allocations: 12 kB / 0.882 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/0.1909, allocations: 3.722 MB / 0.8856 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/0.1919, allocations: 195.6 kB / 0.8858 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04922/0.2411, allocations: 20.75 MB / 0.9061 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.2432, allocations: 103.9 kB / 0.9062 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/0.2435, allocations: 67.98 kB / 0.9062 GB, free: 14.86 MB / 0.8698 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.0008523/0.2444, allocations: 304.2 kB / 0.9065 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/0.2449, allocations: 203.1 kB / 0.9067 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/0.2641, allocations: 4.939 MB / 0.9115 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/0.2641, allocations: 27.98 kB / 0.9116 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/0.2642, allocations: 28 kB / 0.9116 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/0.2643, allocations: 11.95 kB / 0.9116 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/0.2904, allocations: 7.912 MB / 0.9193 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.2905, allocations: 4 kB / 0.9193 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.2911, allocations: 119.8 kB / 0.9194 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01824/0.3093, allocations: 3.6 MB / 0.923 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.3096, allocations: 36 kB / 0.923 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04576/0.3554, allocations: 19.1 MB / 0.9416 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.3554, allocations: 4 kB / 0.9417 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.3736, allocations: 4.953 MB / 0.9465 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/0.3759, allocations: 0.4989 MB / 0.947 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/0.3763, allocations: 39.92 kB / 0.947 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.3777, allocations: 91.83 kB / 0.9471 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009097/0.3786, allocations: 173.6 kB / 0.9473 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.3788, allocations: 48 kB / 0.9473 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001112/0.3799, allocations: 0.6633 MB / 0.948 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3799, allocations: 0 / 0.948 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003494/0.3834, allocations: 1.016 MB / 0.949 GB, free: 2.293 MB / 0.9011 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003588/0.3838, allocations: 135.1 kB / 0.9491 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008747/0.3925, allocations: 3.53 MB / 0.9525 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.3925, allocations: 0 / 0.9525 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008399/0.4009, allocations: 2.911 MB / 0.9554 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.4027, allocations: 234.6 kB / 0.9556 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.411, allocations: 4.134 MB / 0.9596 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.4129, allocations: 1.127 MB / 0.9607 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008679/0.4138, allocations: 291.2 kB / 0.961 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.414, allocations: 60.5 kB / 0.9611 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of SimCode: time 1.543e-06/0.414, allocations: 0 / 0.9611 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of Templates: time 0.1077/0.5217, allocations: 65.62 MB / 1.025 GB, free: 3.855 MB / 0.9792 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.667029308970086]