Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 101.8 kB / 19.7 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 189.3 kB / 22.99 MB, free: 5.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 443.5 MB / 0.7329 GB, free: 12.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 64.08 kB / 1.062 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 160.8 MB / 1.219 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02152/1.098, allocations: 12.45 MB / 1.231 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0123/1.111, allocations: 5.664 MB / 1.237 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/1.112, allocations: 43.75 kB / 1.237 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00371/1.116, allocations: 1.089 MB / 1.238 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/1.119, allocations: 0.6608 MB / 1.239 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/1.122, allocations: 0.9467 MB / 1.24 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004052/1.126, allocations: 2.476 MB / 1.242 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/1.129, allocations: 1.568 MB / 1.244 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/1.132, allocations: 1.138 MB / 1.245 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/1.135, allocations: 1.277 MB / 1.246 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0009563/1.136, allocations: 232 kB / 1.246 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/1.138, allocations: 0.5267 MB / 1.247 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001802/1.14, allocations: 0.9354 MB / 1.248 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002736/1.142, allocations: 0.9922 MB / 1.249 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006409/1.149, allocations: 3.566 MB / 1.252 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.149, allocations: 3.938 kB / 1.252 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.046e-06/1.149, allocations: 0 / 1.252 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.641e-05/1.149, allocations: 0 / 1.252 GB, free: 5.566 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004959/1.154, allocations: 1.985 MB / 1.254 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.154, allocations: 8.031 kB / 1.254 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/1.157, allocations: 0.4954 MB / 1.254 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/1.16, allocations: 1.129 MB / 1.256 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.16, allocations: 111.4 kB / 1.256 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/1.16, allocations: 156.1 kB / 1.256 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/1.165, allocations: 2.766 MB / 1.259 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/1.165, allocations: 4 kB / 1.259 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/1.166, allocations: 64 kB / 1.259 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003186/1.166, allocations: 143 kB / 1.259 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/1.17, allocations: 2.303 MB / 1.261 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/1.185, allocations: 10.41 MB / 1.271 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.186, allocations: 0.592 MB / 1.272 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007243/1.187, allocations: 384.6 kB / 1.272 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/1.187, allocations: 89.09 kB / 1.272 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.187, allocations: 46.48 kB / 1.272 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/1.187, allocations: 0 / 1.272 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52): time 0.02218/1.209, allocations: 5.841 MB / 1.278 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.209, allocations: 59.78 kB / 1.278 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.211, allocations: 0.879 MB / 1.279 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/1.211, allocations: 41.7 kB / 1.279 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/1.212, allocations: 0.7798 MB / 1.28 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.212, allocations: 194.4 kB / 1.28 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/1.212, allocations: 198.5 kB / 1.28 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.212, allocations: 382.8 kB / 1.28 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/1.214, allocations: 0.6566 MB / 1.281 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/1.215, allocations: 1.002 MB / 1.282 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/1.218, allocations: 1.673 MB / 1.284 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.218, allocations: 8 kB / 1.284 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009261/1.227, allocations: 3.118 MB / 1.287 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.227, allocations: 8.375 kB / 1.287 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.227, allocations: 16 kB / 1.287 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007147/1.234, allocations: 1.645 MB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.235, allocations: 235.6 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.251, allocations: 10.58 MB / 1.299 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.253, allocations: 167.7 kB / 1.299 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.253, allocations: 47.98 kB / 1.299 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002392/1.255, allocations: 1.31 MB / 1.3 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/1.257, allocations: 0.9747 MB / 1.301 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002607/1.259, allocations: 1.626 MB / 1.303 GB, free: 15.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.804e-06/1.259, allocations: 4 kB / 1.303 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007541/1.267, allocations: 2.649 MB / 1.305 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/1.267, allocations: 18.25 kB / 1.305 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/1.267, allocations: 12 kB / 1.305 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004682/1.272, allocations: 1.063 MB / 1.307 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.273, allocations: 251.5 kB / 1.307 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008376/1.281, allocations: 5.754 MB / 1.312 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.283, allocations: 155.8 kB / 1.313 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.283, allocations: 47.98 kB / 1.313 GB, free: 4.781 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003772/1.283, allocations: 253.7 kB / 1.313 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.283, allocations: 75.53 kB / 1.313 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007944/1.291, allocations: 2.559 MB / 1.315 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.291, allocations: 7.984 kB / 1.315 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.291, allocations: 0 / 1.315 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/1.292, allocations: 268.5 kB / 1.316 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.292, allocations: 15.98 kB / 1.316 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/1.293, allocations: 115.8 kB / 1.316 GB, free: 1.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.293, allocations: 48.33 kB / 1.316 GB, free: 1.406 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005355/1.298, allocations: 2.095 MB / 1.318 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002744/1.301, allocations: 1.802 MB / 1.32 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008261/1.302, allocations: 0.5303 MB / 1.32 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001014/1.303, allocations: 0.6473 MB / 1.321 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/1.303, allocations: 0 / 1.321 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006578/1.31, allocations: 2.796 MB / 1.324 GB, free: 9.414 MB / 1.029 GB Notification: Performance of SimCode: time 0.005948/1.316, allocations: 3.374 MB / 1.327 GB, free: 5.992 MB / 1.029 GB Notification: Performance of Templates: time 0.05551/1.371, allocations: 30.63 MB / 1.357 GB, free: 7.523 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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: 10.015898023033515]