Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00176/0.00176, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002374/0.002374, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002093/0.002093, allocations: 68.02 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 170 MB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006569/0.3427, allocations: 4.445 MB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004173/0.3469, allocations: 2.482 MB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.3472, allocations: 23.75 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3484, allocations: 398.2 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.3492, allocations: 382.2 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.35, allocations: 321.4 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008126/0.3508, allocations: 0.683 MB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.3512, allocations: 234.1 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.3516, allocations: 267 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.3521, allocations: 290.8 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.3521, allocations: 28 kB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.3529, allocations: 443 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3531, allocations: 147.5 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3533, allocations: 230.8 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3544, allocations: 0.7393 MB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3544, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3544, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.3544, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 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.001802/0.3562, allocations: 0.7304 MB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3562, allocations: 8.031 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.3584, allocations: 184.4 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.3591, allocations: 389.5 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3592, allocations: 29.36 kB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.3592, allocations: 28.38 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.3602, allocations: 0.6549 MB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3603, allocations: 3.984 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3603, allocations: 23.97 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-05/0.3604, allocations: 55.91 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.3612, allocations: 495.3 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.3651, allocations: 3.748 MB / 1.301 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.3668, allocations: 0.6088 MB / 1.301 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.3671, allocations: 166.5 kB / 1.302 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3671, allocations: 7.938 kB / 1.302 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3672, allocations: 34.56 kB / 1.302 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.3672, allocations: 0 / 1.302 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002245/0.3694, allocations: 1.068 MB / 1.303 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.3695, allocations: 110.8 kB / 1.303 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3699, allocations: 401.8 kB / 1.303 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.37, allocations: 29.7 kB / 1.303 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.3702, allocations: 292.2 kB / 1.303 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3703, allocations: 123 kB / 1.304 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3704, allocations: 98.3 kB / 1.304 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3706, allocations: 354.8 kB / 1.304 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.3709, allocations: 173.2 kB / 1.304 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.3713, allocations: 388.1 kB / 1.305 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.3721, allocations: 0.5796 MB / 1.305 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3721, allocations: 3.938 kB / 1.305 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001135/0.3732, allocations: 0.6792 MB / 1.306 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3733, allocations: 8 kB / 1.306 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3733, allocations: 8 kB / 1.306 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.3736, allocations: 98.38 kB / 1.306 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.374, allocations: 111.8 kB / 1.306 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.3777, allocations: 4.049 MB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.3781, allocations: 27.97 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.3781, allocations: 27.98 kB / 1.31 GB, free: 15.34 MB / 1.014 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.0002642/0.3784, allocations: 203.9 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3785, allocations: 47.72 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.3794, allocations: 0.52 MB / 1.311 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3794, allocations: 4 kB / 1.311 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3794, allocations: 4 kB / 1.311 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3794, allocations: 0 / 1.311 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.3813, allocations: 1.259 MB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3813, allocations: 0 / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3816, allocations: 63.89 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.3819, allocations: 90.78 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3819, allocations: 15.98 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.3855, allocations: 4.029 MB / 1.316 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3855, allocations: 4 kB / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.3865, allocations: 0.7797 MB / 1.317 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.3866, allocations: 83.62 kB / 1.317 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.3867, allocations: 8 kB / 1.317 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.387, allocations: 23.97 kB / 1.317 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.3871, allocations: 39.83 kB / 1.317 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3871, allocations: 12 kB / 1.317 GB, free: 7.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003098/0.3874, allocations: 279.1 kB / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3874, allocations: 0 / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006926/0.3881, allocations: 124 kB / 1.317 GB, free: 7.258 MB / 1.014 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.0001613/0.3883, allocations: 115.1 kB / 1.317 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.3896, allocations: 0.7747 MB / 1.318 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3896, allocations: 0 / 1.318 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.3904, allocations: 0.5325 MB / 1.319 GB, free: 5.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/0.3912, allocations: 141.6 kB / 1.319 GB, free: 5.621 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3928, allocations: 0.9232 MB / 1.32 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.3933, allocations: 0.8585 MB / 1.321 GB, free: 3.754 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002559/0.3935, allocations: 108.5 kB / 1.321 GB, free: 3.648 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3937, allocations: 43.42 kB / 1.321 GB, free: 3.605 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.3937, allocations: 7.875 kB / 1.321 GB, free: 3.598 MB / 1.014 GB Notification: Performance of Templates: time 0.01275/0.4064, allocations: 6.18 MB / 1.327 GB, free: 13.48 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.991525433026254]