Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001385/0.001385, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001536/0.001536, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.814/2.814, allocations: 476 MB / 0.7707 GB, free: 4.715 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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [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.002085/0.002085, allocations: 66.48 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007343/0.3729, allocations: 4.602 MB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.3775, allocations: 2.405 MB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.3779, allocations: 35.62 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3792, allocations: 402 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.3804, allocations: 473.6 kB / 1.292 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.3814, allocations: 374.5 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.3825, allocations: 0.914 MB / 1.293 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.3831, allocations: 318.3 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.3836, allocations: 362.6 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.3841, allocations: 342.5 kB / 1.294 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.131e-05/0.3842, allocations: 40 kB / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.3849, allocations: 363.1 kB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.3852, allocations: 195.3 kB / 1.294 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.3854, allocations: 254.7 kB / 1.295 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3866, allocations: 0.8871 MB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3866, allocations: 4 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3866, allocations: 0 / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3866, allocations: 0 / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001565/0.3882, allocations: 0.8896 MB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3882, allocations: 12.03 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.3895, allocations: 208.2 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.3904, allocations: 480.8 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.3904, allocations: 29.38 kB / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.3905, allocations: 52.31 kB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.3918, allocations: 0.9741 MB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.3919, allocations: 7.938 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.3919, allocations: 23.98 kB / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.392, allocations: 68.95 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.3929, allocations: 0.5656 MB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.3977, allocations: 4.631 MB / 1.303 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.3984, allocations: 418.3 kB / 1.304 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.3987, allocations: 204.7 kB / 1.304 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3987, allocations: 4 kB / 1.304 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3988, allocations: 39.08 kB / 1.304 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.325e-06/0.3988, allocations: 0 / 1.304 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002555/0.4013, allocations: 1.13 MB / 1.305 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.4014, allocations: 59.62 kB / 1.305 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.4019, allocations: 466.7 kB / 1.305 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4019, allocations: 33.7 kB / 1.305 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.4023, allocations: 372.2 kB / 1.306 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4024, allocations: 126.9 kB / 1.306 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.4025, allocations: 110.2 kB / 1.306 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4027, allocations: 358.8 kB / 1.306 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.403, allocations: 193.2 kB / 1.307 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.4036, allocations: 451.3 kB / 1.307 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.4045, allocations: 0.6918 MB / 1.308 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4045, allocations: 0 / 1.308 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00137/0.4059, allocations: 0.8057 MB / 1.308 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4059, allocations: 12 kB / 1.308 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4059, allocations: 8 kB / 1.308 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005266/0.4064, allocations: 156.8 kB / 1.309 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.4069, allocations: 123.8 kB / 1.309 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.4108, allocations: 3.976 MB / 1.313 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.4113, allocations: 35.97 kB / 1.313 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.4113, allocations: 24 kB / 1.313 GB, free: 13.24 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0003316/0.4117, allocations: 215.8 kB / 1.313 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4118, allocations: 59.61 kB / 1.313 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.4129, allocations: 0.5963 MB / 1.313 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4129, allocations: 4 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4129, allocations: 3.984 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4129, allocations: 3.984 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.4148, allocations: 1.125 MB / 1.315 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.4148, allocations: 4 kB / 1.315 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.415, allocations: 51.89 kB / 1.315 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.4155, allocations: 140.2 kB / 1.315 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.4155, allocations: 8.219 kB / 1.315 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.4191, allocations: 3.957 MB / 1.319 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.4191, allocations: 7.938 kB / 1.319 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4203, allocations: 0.7046 MB / 1.319 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.4205, allocations: 79.62 kB / 1.319 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.4206, allocations: 12 kB / 1.319 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4209, allocations: 23.97 kB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.4209, allocations: 36.05 kB / 1.32 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.421, allocations: 11.94 kB / 1.32 GB, free: 5.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003734/0.4213, allocations: 302.9 kB / 1.32 GB, free: 5.438 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 1.32 GB, free: 5.438 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006632/0.422, allocations: 140 kB / 1.32 GB, free: 5.301 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001741/0.4222, allocations: 107.2 kB / 1.32 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.4236, allocations: 0.8627 MB / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4236, allocations: 0 / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008334/0.4245, allocations: 0.5756 MB / 1.321 GB, free: 3.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.4254, allocations: 201.2 kB / 1.322 GB, free: 3.469 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4273, allocations: 1.091 MB / 1.323 GB, free: 2.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4276, allocations: 311.4 kB / 1.323 GB, free: 1.988 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4278, allocations: 39.44 kB / 1.323 GB, free: 1.949 MB / 1.014 GB Notification: Performance of SimCode: time 1.193e-06/0.4278, allocations: 0 / 1.323 GB, free: 1.949 MB / 1.014 GB Notification: Performance of Templates: time 0.0239/0.4517, allocations: 18.08 MB / 1.341 GB, free: 15.9 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 14.060104351025075]