Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.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.001225/0.001225, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.0009193/0.0009193, allocations: 165.8 kB / 23.2 MB, free: 1.34 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.013/1.013, allocations: 177.2 MB / 203.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.517/2.517, allocations: 447.5 MB / 0.6909 GB, free: 5.922 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Sources.Validation.GroundingTransformerFault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|VPh.[0-9,]+.|VNeuRMS|senDel.V.[0-9,]+.|INeuRMS|IFauRMS|groTra.i0.[0-9,]+.|groTra.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|VPh.[0-9,]+.|VNeuRMS|senDel.V.[0-9,]+.|INeuRMS|IFauRMS|groTra.i0.[0-9,]+.|groTra.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 1.219 kB / 1.094 GB, free: 19.07 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.27e-05, allocations: 2.281 kB / 1.094 GB, free: 19.07 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault): time 0.01079/0.01081, allocations: 13.44 MB / 1.107 GB, free: 10.82 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006005/0.01682, allocations: 5.202 MB / 1.112 GB, free: 7.453 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.01727, allocations: 64.88 kB / 1.113 GB, free: 7.426 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.01874, allocations: 1.037 MB / 1.114 GB, free: 6.852 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.02001, allocations: 0.9151 MB / 1.114 GB, free: 6.312 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.0213, allocations: 0.8726 MB / 1.115 GB, free: 5.84 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002457/0.02375, allocations: 3.674 MB / 1.119 GB, free: 4.227 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.02609, allocations: 2.404 MB / 1.121 GB, free: 3.008 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.02832, allocations: 2.261 MB / 1.123 GB, free: 1.902 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.03024, allocations: 1.818 MB / 1.125 GB, free: 1.285 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004527/0.03069, allocations: 361.2 kB / 1.126 GB, free: 1.285 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.03227, allocations: 1.021 MB / 1.127 GB, free: 1.059 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.03345, allocations: 1.594 MB / 1.128 GB, free: 348 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.03442, allocations: 1.06 MB / 1.129 GB, free: 15.8 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005721/0.04014, allocations: 5.613 MB / 1.135 GB, free: 14.1 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.04015, allocations: 0 / 1.135 GB, free: 14.1 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.776e-06/0.04015, allocations: 0.7031 kB / 1.135 GB, free: 14.1 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.377e-05/0.04022, allocations: 0 / 1.135 GB, free: 14.1 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 682 * Number of variables: 682 Notification: Performance of Generate backend data structure: time 0.004421/0.04465, allocations: 2.663 MB / 1.137 GB, free: 12.6 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.04469, allocations: 10.45 kB / 1.137 GB, free: 12.6 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006503/0.05119, allocations: 2.162 MB / 1.139 GB, free: 12.39 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.05327, allocations: 1.505 MB / 1.141 GB, free: 11.64 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.0534, allocations: 192.2 kB / 1.141 GB, free: 11.55 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000362/0.05376, allocations: 247.8 kB / 1.141 GB, free: 11.47 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008165/0.06192, allocations: 5.299 MB / 1.146 GB, free: 9.609 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.06196, allocations: 1.25 kB / 1.146 GB, free: 9.609 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.06223, allocations: 110.7 kB / 1.147 GB, free: 9.523 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.06247, allocations: 196.3 kB / 1.147 GB, free: 9.492 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008652/0.07112, allocations: 5.443 MB / 1.152 GB, free: 7.914 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.08343, allocations: 11.81 MB / 1.164 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/0.08761, allocations: 2.806 MB / 1.166 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.09073, allocations: 2.056 MB / 1.168 GB, free: 13.05 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.09087, allocations: 42.84 kB / 1.168 GB, free: 13.04 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.09092, allocations: 56.5 kB / 1.168 GB, free: 12.98 MB / 1.042 GB Notification: Performance of pre-optimization done (n=157): time 5.08e-06/0.09092, allocations: 0.8438 kB / 1.168 GB, free: 12.98 MB / 1.042 GB Notification: Performance of matching and sorting (n=158): time 0.01568/0.1066, allocations: 9.573 MB / 1.178 GB, free: 7.621 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.1067, allocations: 205.8 kB / 1.178 GB, free: 7.391 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.1076, allocations: 0.8253 MB / 1.179 GB, free: 6.902 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.1077, allocations: 52.77 kB / 1.179 GB, free: 6.852 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.1081, allocations: 0.9984 MB / 1.18 GB, free: 5.965 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.1085, allocations: 0.5612 MB / 1.18 GB, free: 5.469 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.1089, allocations: 390.6 kB / 1.181 GB, free: 5.25 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.109, allocations: 337.2 kB / 1.181 GB, free: 4.922 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/0.1115, allocations: 1.664 MB / 1.183 GB, free: 4.086 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.1142, allocations: 2.133 MB / 1.185 GB, free: 2.383 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00497/0.1192, allocations: 3.846 MB / 1.188 GB, free: 14.35 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1192, allocations: 4 kB / 1.188 GB, free: 14.34 MB / 1.057 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005889/0.1251, allocations: 4.424 MB / 1.193 GB, free: 9.906 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.1251, allocations: 12.19 kB / 1.193 GB, free: 9.895 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1251, allocations: 20 kB / 1.193 GB, free: 9.875 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008395/0.126, allocations: 0.6175 MB / 1.193 GB, free: 9.254 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.1277, allocations: 0.7216 MB / 1.194 GB, free: 8.531 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004732/0.1324, allocations: 5.618 MB / 1.2 GB, free: 2.809 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.1339, allocations: 439.3 kB / 1.2 GB, free: 2.379 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.134, allocations: 99.88 kB / 1.2 GB, free: 2.281 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (201): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,34,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00162/0.1357, allocations: 1.003 MB / 1.201 GB, free: 1.27 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.1359, allocations: 123.2 kB / 1.201 GB, free: 1.148 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/0.1415, allocations: 4.138 MB / 1.205 GB, free: 12.98 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.1415, allocations: 16 kB / 1.205 GB, free: 12.96 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1415, allocations: 8 kB / 1.205 GB, free: 12.96 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1415, allocations: 11.97 kB / 1.205 GB, free: 12.95 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008738/0.1502, allocations: 7.042 MB / 1.212 GB, free: 5.766 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1502, allocations: 12 kB / 1.212 GB, free: 5.754 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.1516, allocations: 0.5817 MB / 1.213 GB, free: 5.172 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007202/0.1524, allocations: 0.5007 MB / 1.213 GB, free: 4.668 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.1524, allocations: 55.95 kB / 1.213 GB, free: 4.613 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004685/0.1571, allocations: 5.601 MB / 1.219 GB, free: 14.91 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1571, allocations: 15.94 kB / 1.219 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/0.1625, allocations: 4.139 MB / 1.223 GB, free: 10.65 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.163, allocations: 411 kB / 1.223 GB, free: 10.25 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.1631, allocations: 32 kB / 1.223 GB, free: 10.22 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.1644, allocations: 419.2 kB / 1.224 GB, free: 9.809 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.1645, allocations: 133 kB / 1.224 GB, free: 9.676 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.002e-05/0.1646, allocations: 67.95 kB / 1.224 GB, free: 9.609 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004734/0.1651, allocations: 0.5576 MB / 1.224 GB, free: 9.051 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1651, allocations: 0 / 1.224 GB, free: 9.051 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001502/0.1666, allocations: 0.5898 MB / 1.225 GB, free: 8.461 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,34,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002515/0.1669, allocations: 155.6 kB / 1.225 GB, free: 8.301 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005679/0.1725, allocations: 4.003 MB / 1.229 GB, free: 4.285 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1725, allocations: 4 kB / 1.229 GB, free: 4.281 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.1752, allocations: 2.099 MB / 1.231 GB, free: 2.172 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.176, allocations: 186.8 kB / 1.231 GB, free: 1.988 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.1865, allocations: 7.068 MB / 1.238 GB, free: 10.8 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.1877, allocations: 1.462 MB / 1.24 GB, free: 9.289 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.1883, allocations: 164.3 kB / 1.24 GB, free: 9.129 MB / 1.104 GB Notification: Performance of SimCode: time 7.01e-07/0.1883, allocations: 0 / 1.24 GB, free: 9.129 MB / 1.104 GB Notification: Performance of Templates: time 0.03273/0.221, allocations: 45.29 MB / 1.284 GB, free: 11.82 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault -emit_protected -ignoreHideResult > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.021595055237412]