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.001783/0.001783, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002457/0.002457, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.841/2.841, allocations: 476.7 MB / 0.7714 GB, free: 4.281 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.002077/0.002077, allocations: 66.47 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007364/0.3665, allocations: 5.014 MB / 1.29 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00466/0.3711, allocations: 2.561 MB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.3715, allocations: 35.62 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.3728, allocations: 423.5 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.3739, allocations: 473.6 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.3748, allocations: 381.1 kB / 1.293 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3759, allocations: 0.91 MB / 1.294 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.3765, allocations: 322.3 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.3771, allocations: 366.6 kB / 1.295 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.3776, allocations: 358.5 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.3777, allocations: 40 kB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.3785, allocations: 415.1 kB / 1.296 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.3787, allocations: 187.4 kB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.379, allocations: 318.2 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3801, allocations: 0.8792 MB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3801, allocations: 0 / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3801, allocations: 0 / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.3801, allocations: 8 kB / 1.297 GB, free: 14.57 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.001569/0.3817, allocations: 0.8779 MB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3817, allocations: 12.03 kB / 1.298 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.383, allocations: 208.2 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.3839, allocations: 484.8 kB / 1.298 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3839, allocations: 33.36 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.384, allocations: 48.31 kB / 1.299 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3852, allocations: 0.8487 MB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.3852, allocations: 7.938 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.3853, allocations: 23.98 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3854, allocations: 68.95 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.3863, allocations: 0.5656 MB / 1.3 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/0.3916, allocations: 5.574 MB / 1.305 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.3923, allocations: 430.2 kB / 1.306 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.3926, allocations: 196.7 kB / 1.306 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3926, allocations: 4 kB / 1.306 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3927, allocations: 39.08 kB / 1.306 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.3927, allocations: 0 / 1.306 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002535/0.3952, allocations: 1.14 MB / 1.307 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3953, allocations: 55.69 kB / 1.307 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.3958, allocations: 0.4989 MB / 1.308 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3959, allocations: 29.7 kB / 1.308 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.3961, allocations: 355.8 kB / 1.308 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3963, allocations: 123 kB / 1.308 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3964, allocations: 114.2 kB / 1.308 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3966, allocations: 366.8 kB / 1.309 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.3969, allocations: 193.2 kB / 1.309 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.3974, allocations: 447.3 kB / 1.309 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009163/0.3984, allocations: 0.6919 MB / 1.31 GB, free: 320 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3984, allocations: 0 / 1.31 GB, free: 320 kB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001358/0.3997, allocations: 0.8135 MB / 1.311 GB, free: 15.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3997, allocations: 8 kB / 1.311 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3998, allocations: 8 kB / 1.311 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.4003, allocations: 160.7 kB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.4007, allocations: 119.8 kB / 1.311 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.4045, allocations: 4.045 MB / 1.315 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.4049, allocations: 31.97 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.405, allocations: 28 kB / 1.315 GB, free: 10.73 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.0003116/0.4053, allocations: 221.6 kB / 1.315 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.4054, allocations: 59.62 kB / 1.315 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.4065, allocations: 0.5968 MB / 1.316 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4065, allocations: 4 kB / 1.316 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4065, allocations: 4 kB / 1.316 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4065, allocations: 0 / 1.316 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.4085, allocations: 1.234 MB / 1.317 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.4085, allocations: 8 kB / 1.317 GB, free: 8.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.4087, allocations: 51.95 kB / 1.317 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/0.4091, allocations: 152.3 kB / 1.317 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.4092, allocations: 7.938 kB / 1.317 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.4128, allocations: 4.014 MB / 1.321 GB, free: 3.902 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.4128, allocations: 7.969 kB / 1.321 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.4139, allocations: 0.7085 MB / 1.322 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4142, allocations: 99.52 kB / 1.322 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.4142, allocations: 12 kB / 1.322 GB, free: 3.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.4145, allocations: 23.97 kB / 1.322 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.4146, allocations: 35.88 kB / 1.322 GB, free: 2.965 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.4146, allocations: 8 kB / 1.322 GB, free: 2.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004009/0.415, allocations: 330.9 kB / 1.322 GB, free: 2.637 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.415, allocations: 0 / 1.322 GB, free: 2.637 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006556/0.4156, allocations: 144 kB / 1.323 GB, free: 2.496 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.0001649/0.4158, allocations: 111.2 kB / 1.323 GB, free: 2.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.4173, allocations: 0.8629 MB / 1.324 GB, free: 1.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.4173, allocations: 8.062 kB / 1.324 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000835/0.4181, allocations: 0.5678 MB / 1.324 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.4191, allocations: 210 kB / 1.324 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4209, allocations: 1.103 MB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.4216, allocations: 0.9097 MB / 1.326 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.4217, allocations: 39.44 kB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.4217, allocations: 0 / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Templates: time 0.02346/0.4451, allocations: 18.07 MB / 1.344 GB, free: 12.48 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: 16.955424662010046]