Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001544/0.001544, allocations: 100.9 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001656/0.001656, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.309/3.309, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 62.94 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4864, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006769/0.4932, allocations: 4.345 MB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.4974, allocations: 2.439 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.4978, allocations: 27.75 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.499, allocations: 375 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.4999, allocations: 386.2 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.5007, allocations: 324.9 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008623/0.5016, allocations: 0.6827 MB / 1.33 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.502, allocations: 214 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.5024, allocations: 263 kB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.5028, allocations: 282.8 kB / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.5028, allocations: 28 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.5036, allocations: 443 kB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.5037, allocations: 151.4 kB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.504, allocations: 242.7 kB / 1.331 GB, free: 8.672 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009451/0.5049, allocations: 0.7277 MB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5049, allocations: 7.922 kB / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5049, allocations: 0 / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5049, allocations: 0 / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001341/0.5063, allocations: 0.8057 MB / 1.333 GB, free: 7.078 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5063, allocations: 11.98 kB / 1.333 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5077, allocations: 184.4 kB / 1.333 GB, free: 6.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/0.5084, allocations: 448.7 kB / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.5084, allocations: 25.36 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.5085, allocations: 32.38 kB / 1.333 GB, free: 6.348 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.5094, allocations: 0.651 MB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.5095, allocations: 7.938 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.5095, allocations: 19.98 kB / 1.334 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.563e-05/0.5096, allocations: 59.84 kB / 1.334 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.5104, allocations: 0.4893 MB / 1.335 GB, free: 5.039 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/0.5142, allocations: 3.787 MB / 1.338 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.516, allocations: 0.6091 MB / 1.339 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.5163, allocations: 162.5 kB / 1.339 GB, free: 192 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.5163, allocations: 4 kB / 1.339 GB, free: 188 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5164, allocations: 42.5 kB / 1.339 GB, free: 136 kB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 5.13e-06/0.5164, allocations: 3.984 kB / 1.339 GB, free: 132 kB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002594/0.519, allocations: 1.29 MB / 1.34 GB, free: 14.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.519, allocations: 110.8 kB / 1.34 GB, free: 14.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.5195, allocations: 401.8 kB / 1.341 GB, free: 14.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.5196, allocations: 29.7 kB / 1.341 GB, free: 14.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.5198, allocations: 292.1 kB / 1.341 GB, free: 13.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5199, allocations: 126.9 kB / 1.341 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.5201, allocations: 94.2 kB / 1.341 GB, free: 13.67 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5203, allocations: 354.8 kB / 1.342 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.5206, allocations: 177 kB / 1.342 GB, free: 13.14 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.521, allocations: 375.2 kB / 1.342 GB, free: 12.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.5218, allocations: 0.5913 MB / 1.343 GB, free: 12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.5218, allocations: 7.938 kB / 1.343 GB, free: 12 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001164/0.523, allocations: 0.6788 MB / 1.343 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.523, allocations: 8 kB / 1.343 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.523, allocations: 8.719 kB / 1.343 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.5234, allocations: 98.44 kB / 1.344 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.5238, allocations: 111.8 kB / 1.344 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.5279, allocations: 4.34 MB / 1.348 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.5282, allocations: 27.97 kB / 1.348 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.5283, allocations: 27.94 kB / 1.348 GB, free: 6.254 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.5286, allocations: 205.7 kB / 1.348 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5287, allocations: 51.72 kB / 1.348 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.5297, allocations: 0.5069 MB / 1.349 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5297, allocations: 4 kB / 1.349 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5297, allocations: 11.98 kB / 1.349 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5297, allocations: 0 / 1.349 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.5317, allocations: 1.292 MB / 1.35 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.5317, allocations: 3.984 kB / 1.35 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.5319, allocations: 67.91 kB / 1.35 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.5322, allocations: 86.78 kB / 1.35 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.5322, allocations: 12 kB / 1.35 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003772/0.536, allocations: 4.332 MB / 1.354 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.536, allocations: 4.031 kB / 1.354 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.537, allocations: 0.7861 MB / 1.355 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.5372, allocations: 156.7 kB / 1.355 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.5373, allocations: 15.98 kB / 1.355 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.5376, allocations: 15.98 kB / 1.355 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.5377, allocations: 39.83 kB / 1.355 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.5377, allocations: 16 kB / 1.355 GB, free: 14.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003083/0.538, allocations: 283.1 kB / 1.356 GB, free: 13.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.538, allocations: 0 / 1.356 GB, free: 13.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006808/0.5387, allocations: 124 kB / 1.356 GB, free: 13.64 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001479/0.5388, allocations: 107.2 kB / 1.356 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.5401, allocations: 0.7781 MB / 1.357 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5401, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.5409, allocations: 0.5357 MB / 1.357 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.5418, allocations: 135.7 kB / 1.357 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.5434, allocations: 0.9257 MB / 1.358 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.5441, allocations: 0.8586 MB / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.5443, allocations: 112.5 kB / 1.359 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5445, allocations: 35.44 kB / 1.359 GB, free: 9.992 MB / 1.061 GB Notification: Performance of SimCode: time 5.92e-07/0.5445, allocations: 0 / 1.359 GB, free: 9.992 MB / 1.061 GB Notification: Performance of Templates: time 0.01313/0.5576, allocations: 5.924 MB / 1.365 GB, free: 4.129 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.660494701936841]