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.001124/0.001124, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002742, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 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.001101/0.001101, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002507, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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 0.9446/0.9446, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09928/1.044, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.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.301/2.301, allocations: 447.6 MB / 0.6756 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2288/2.53, allocations: 146.2 MB / 0.8183 GB, free: 3.156 MB / 0.7917 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.603e-06/1.603e-06, allocations: 0 / 0.8196 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.304e-05, allocations: 6.312 kB / 0.8196 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Validation.GroundingTransformerFault): time 0.01063/0.01064, allocations: 8.223 MB / 0.8276 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005912/0.01655, allocations: 3.029 MB / 0.8306 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005869/0.01714, allocations: 63.62 kB / 0.8306 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.01798, allocations: 333.9 kB / 0.8309 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.01942, allocations: 0.8743 MB / 0.8318 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.02061, allocations: 0.5574 MB / 0.8323 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.02356, allocations: 4.232 MB / 0.8365 GB, free: 480 kB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.02541, allocations: 2.489 MB / 0.8389 GB, free: 13.89 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.02747, allocations: 2.536 MB / 0.8414 GB, free: 11.35 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.02925, allocations: 2.245 MB / 0.8436 GB, free: 9.098 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.02959, allocations: 360 kB / 0.8439 GB, free: 8.746 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.03027, allocations: 0.558 MB / 0.8445 GB, free: 8.188 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008772/0.03115, allocations: 1.513 MB / 0.8459 GB, free: 6.672 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.03188, allocations: 0.8854 MB / 0.8468 GB, free: 5.785 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.03394, allocations: 2.716 MB / 0.8495 GB, free: 3.062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.03395, allocations: 0 / 0.8495 GB, free: 3.062 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.03396, allocations: 0 / 0.8495 GB, free: 3.062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.03398, allocations: 0 / 0.8495 GB, free: 3.062 MB / 0.823 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.002698/0.03668, allocations: 3.009 MB / 0.8524 GB, free: 16 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.03671, allocations: 8.031 kB / 0.8524 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.04017, allocations: 1.184 MB / 0.8536 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.04132, allocations: 1.126 MB / 0.8547 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.04141, allocations: 189.5 kB / 0.8548 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.04167, allocations: 248.4 kB / 0.8551 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.04459, allocations: 2.468 MB / 0.8575 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.04463, allocations: 192 / 0.8575 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.04483, allocations: 108.4 kB / 0.8576 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.04499, allocations: 168.5 kB / 0.8578 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.04632, allocations: 0.8737 MB / 0.8586 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007577/0.05389, allocations: 8.079 MB / 0.8665 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.0551, allocations: 1.173 MB / 0.8676 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.05592, allocations: 0.6994 MB / 0.8683 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.05601, allocations: 49.28 kB / 0.8684 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.05605, allocations: 59.81 kB / 0.8684 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 2.605e-06/0.05606, allocations: 0 / 0.8684 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=158): time 0.0052/0.06125, allocations: 2.811 MB / 0.8712 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.06132, allocations: 205.2 kB / 0.8714 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.06167, allocations: 0.5891 MB / 0.8719 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-05/0.06177, allocations: 53.7 kB / 0.872 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.06209, allocations: 0.9531 MB / 0.8729 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.06238, allocations: 0.5616 MB / 0.8735 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.06276, allocations: 347.1 kB / 0.8738 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.06283, allocations: 333.9 kB / 0.8741 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.06322, allocations: 287.9 kB / 0.8744 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.0638, allocations: 0.7469 MB / 0.8751 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.06519, allocations: 1.239 MB / 0.8763 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.0652, allocations: 4 kB / 0.8763 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.001647/0.06684, allocations: 1.352 MB / 0.8777 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.06686, allocations: 8 kB / 0.8777 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.06688, allocations: 16 kB / 0.8777 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/0.06763, allocations: 442.2 kB / 0.8781 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.06885, allocations: 471.3 kB / 0.8786 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.07162, allocations: 2.838 MB / 0.8813 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.0723, allocations: 107.8 kB / 0.8814 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.07241, allocations: 71.94 kB / 0.8815 GB, free: 1.074 MB / 0.8542 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.000367/0.07278, allocations: 220.1 kB / 0.8817 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.07301, allocations: 123.9 kB / 0.8818 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.0752, allocations: 1.485 MB / 0.8833 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.07521, allocations: 27.94 kB / 0.8833 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.07522, allocations: 8 kB / 0.8833 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.07523, allocations: 7.969 kB / 0.8833 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.07881, allocations: 3.484 MB / 0.8867 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.07882, allocations: 8.781 kB / 0.8867 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.07977, allocations: 319.5 kB / 0.887 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.08013, allocations: 295 kB / 0.8873 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006711/0.0808, allocations: 406.4 kB / 0.8877 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.08088, allocations: 47.95 kB / 0.8877 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.08377, allocations: 2.829 MB / 0.8905 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.08378, allocations: 15.94 kB / 0.8905 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.08525, allocations: 1.591 MB / 0.8921 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.08538, allocations: 36 kB / 0.8921 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.086, allocations: 67.97 kB / 0.8922 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.08615, allocations: 144.8 kB / 0.8923 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.08623, allocations: 43.95 kB / 0.8924 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001856/0.08642, allocations: 256.6 kB / 0.8926 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.08642, allocations: 7.938 kB / 0.8926 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009973/0.08741, allocations: 0.6055 MB / 0.8932 GB, free: 4.715 MB / 0.8698 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.0002019/0.08762, allocations: 144.1 kB / 0.8933 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.0892, allocations: 1.46 MB / 0.8948 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.94e-05/0.08924, allocations: 24.44 kB / 0.8948 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.09051, allocations: 1.291 MB / 0.8961 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.09126, allocations: 306.8 kB / 0.8963 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.1052, allocations: 4.386 MB / 0.9006 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.1062, allocations: 1.267 MB / 0.9019 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/0.107, allocations: 301.1 kB / 0.9022 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.107, allocations: 3.938 kB / 0.9022 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.03221/0.1393, allocations: 45.04 MB / 0.9461 GB, free: 14.24 MB / 0.9323 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: 6.905479272827506]