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.00159/0.00159, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001808/0.001808, allocations: 220.4 kB / 23 MB, free: 4.914 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.723/2.723, allocations: 476 MB / 0.7707 GB, free: 4.754 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.002067/0.002067, allocations: 63.05 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007078/0.3458, allocations: 4.139 MB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.3504, allocations: 2.319 MB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/0.3508, allocations: 27.75 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.3522, allocations: 370.3 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3533, allocations: 386.2 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.3543, allocations: 321 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009983/0.3553, allocations: 0.687 MB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.3557, allocations: 230 kB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.3561, allocations: 267 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.3565, allocations: 270.8 kB / 1.293 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.3566, allocations: 32 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.3574, allocations: 379.1 kB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3576, allocations: 147.5 kB / 1.293 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3578, allocations: 195.1 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.3588, allocations: 0.7393 MB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3588, allocations: 4 kB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3588, allocations: 0 / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.3588, allocations: 0 / 1.294 GB, free: 1.461 MB / 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.001232/0.36, allocations: 0.7227 MB / 1.295 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3601, allocations: 15.97 kB / 1.295 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.3613, allocations: 184.3 kB / 1.295 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.3621, allocations: 385.5 kB / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3621, allocations: 21.38 kB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.3622, allocations: 36.3 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3632, allocations: 0.7341 MB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3632, allocations: 3.984 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.3633, allocations: 16 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.289e-05/0.3633, allocations: 55.91 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.3641, allocations: 495.3 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.3675, allocations: 3.153 MB / 1.3 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.3692, allocations: 0.5977 MB / 1.3 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.3694, allocations: 166.5 kB / 1.3 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3695, allocations: 7.938 kB / 1.3 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3695, allocations: 38.56 kB / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.3695, allocations: 0 / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002241/0.3717, allocations: 1.065 MB / 1.301 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.3718, allocations: 110.8 kB / 1.302 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.3723, allocations: 389.3 kB / 1.302 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.3723, allocations: 33.7 kB / 1.302 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.3725, allocations: 280.3 kB / 1.302 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3726, allocations: 126.9 kB / 1.302 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3728, allocations: 110.2 kB / 1.302 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3729, allocations: 350.8 kB / 1.303 GB, free: 8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3732, allocations: 177.2 kB / 1.303 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.3737, allocations: 380.7 kB / 1.303 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.3745, allocations: 0.5832 MB / 1.304 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3745, allocations: 4 kB / 1.304 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001122/0.3756, allocations: 0.6747 MB / 1.305 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.3756, allocations: 9.719 kB / 1.305 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3756, allocations: 4.844 kB / 1.305 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.376, allocations: 102.4 kB / 1.305 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.3764, allocations: 111.8 kB / 1.305 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.3801, allocations: 3.977 MB / 1.309 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.3804, allocations: 31.97 kB / 1.309 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.3805, allocations: 24 kB / 1.309 GB, free: 1.422 MB / 0.9981 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.0002668/0.3807, allocations: 199.2 kB / 1.309 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3809, allocations: 51.66 kB / 1.309 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/0.3818, allocations: 0.499 MB / 1.309 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3818, allocations: 4 kB / 1.309 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3818, allocations: 4 kB / 1.309 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3818, allocations: 7.922 kB / 1.309 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3837, allocations: 1.158 MB / 1.311 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3837, allocations: 3.984 kB / 1.311 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3839, allocations: 63.89 kB / 1.311 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.3842, allocations: 90.5 kB / 1.311 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3842, allocations: 8.281 kB / 1.311 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/0.3878, allocations: 3.961 MB / 1.315 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3878, allocations: 4 kB / 1.315 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3889, allocations: 0.7795 MB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.3891, allocations: 83.56 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.3892, allocations: 8 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.3895, allocations: 23.97 kB / 1.316 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.3895, allocations: 35.83 kB / 1.316 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3896, allocations: 16.12 kB / 1.316 GB, free: 9.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003215/0.3899, allocations: 263.1 kB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3899, allocations: 4 kB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006759/0.3906, allocations: 120 kB / 1.316 GB, free: 9.578 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.0001482/0.3907, allocations: 107.2 kB / 1.316 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.392, allocations: 0.7759 MB / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.392, allocations: 0 / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.3927, allocations: 0.5392 MB / 1.317 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.3936, allocations: 139.1 kB / 1.317 GB, free: 7.949 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3952, allocations: 0.9616 MB / 1.318 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3955, allocations: 256.1 kB / 1.319 GB, free: 6.645 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3956, allocations: 43.42 kB / 1.319 GB, free: 6.602 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.3956, allocations: 0 / 1.319 GB, free: 6.602 MB / 1.014 GB Notification: Performance of Templates: time 0.01535/0.4109, allocations: 11.23 MB / 1.33 GB, free: 11.39 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/jenkins1/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: 12.810339456889778]