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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 201.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.762/2.762, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 68.03 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7624, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006907/0.7693, allocations: 5.018 MB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004353/0.7736, allocations: 2.518 MB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.774, allocations: 23.81 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.7753, allocations: 417.8 kB / 1.282 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.7764, allocations: 465.7 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.7773, allocations: 375.1 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.7784, allocations: 0.9134 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.7789, allocations: 265.2 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.7794, allocations: 338.7 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.7799, allocations: 370.4 kB / 1.284 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.7799, allocations: 39.94 kB / 1.284 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007465/0.7807, allocations: 411.1 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.7809, allocations: 191.4 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.7812, allocations: 322.2 kB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.7823, allocations: 0.8947 MB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7823, allocations: 0 / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7823, allocations: 0 / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.7823, allocations: 0 / 1.286 GB, free: 8.031 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00155/0.7838, allocations: 0.9557 MB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7839, allocations: 11.97 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.7851, allocations: 204.2 kB / 1.287 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.7861, allocations: 0.5378 MB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.7861, allocations: 37.38 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.7862, allocations: 44.36 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.7873, allocations: 0.8448 MB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.7874, allocations: 11.92 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.7874, allocations: 23.98 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.7875, allocations: 64.95 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.7884, allocations: 0.5656 MB / 1.289 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.7936, allocations: 5.647 MB / 1.295 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.7942, allocations: 426.2 kB / 1.295 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.7946, allocations: 209.2 kB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.7946, allocations: 4 kB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.7946, allocations: 38.56 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.7946, allocations: 0 / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002697/0.7973, allocations: 1.513 MB / 1.297 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.7974, allocations: 59.62 kB / 1.297 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.7979, allocations: 499 kB / 1.298 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.7979, allocations: 33.7 kB / 1.298 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.7982, allocations: 363.8 kB / 1.298 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.7983, allocations: 123 kB / 1.298 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.7985, allocations: 114.2 kB / 1.298 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7987, allocations: 366.8 kB / 1.299 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.799, allocations: 197.2 kB / 1.299 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.7995, allocations: 443.3 kB / 1.299 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000883/0.8004, allocations: 0.688 MB / 1.3 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8004, allocations: 4 kB / 1.3 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001342/0.8017, allocations: 0.8061 MB / 1.301 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.8017, allocations: 16.19 kB / 1.301 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8017, allocations: 8 kB / 1.301 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.8023, allocations: 156 kB / 1.301 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.8027, allocations: 123.8 kB / 1.301 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.8066, allocations: 4.348 MB / 1.305 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.807, allocations: 31.97 kB / 1.305 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.8071, allocations: 31.98 kB / 1.305 GB, free: 3.074 MB / 0.9981 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.0002932/0.8074, allocations: 213.6 kB / 1.305 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.8075, allocations: 71.52 kB / 1.306 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.8085, allocations: 0.5929 MB / 1.306 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8085, allocations: 4 kB / 1.306 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8085, allocations: 4 kB / 1.306 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8086, allocations: 7.922 kB / 1.306 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.8105, allocations: 1.254 MB / 1.307 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.8105, allocations: 4 kB / 1.307 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.8108, allocations: 47.95 kB / 1.307 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.8112, allocations: 152.3 kB / 1.308 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.8112, allocations: 7.938 kB / 1.308 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.8148, allocations: 4.344 MB / 1.312 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8148, allocations: 0 / 1.312 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.8159, allocations: 0.7161 MB / 1.312 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.8162, allocations: 172.7 kB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.8163, allocations: 8 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.8165, allocations: 19.97 kB / 1.313 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.8166, allocations: 39.89 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.8166, allocations: 12 kB / 1.313 GB, free: 10.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003781/0.817, allocations: 330.8 kB / 1.313 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.817, allocations: 0 / 1.313 GB, free: 10.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006256/0.8176, allocations: 140 kB / 1.313 GB, free: 10.32 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.0001536/0.8178, allocations: 115.2 kB / 1.313 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8193, allocations: 1.009 MB / 1.314 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8193, allocations: 0 / 1.314 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008943/0.8202, allocations: 0.7229 MB / 1.315 GB, free: 8.305 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.8211, allocations: 205.4 kB / 1.315 GB, free: 8.109 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.8229, allocations: 1.054 MB / 1.316 GB, free: 7.004 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.8234, allocations: 0.9019 MB / 1.317 GB, free: 6.074 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.8237, allocations: 117.3 kB / 1.317 GB, free: 5.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.8238, allocations: 35.44 kB / 1.317 GB, free: 5.922 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.8238, allocations: 4 kB / 1.317 GB, free: 5.918 MB / 1.014 GB Notification: Performance of Templates: time 0.01564/0.8395, allocations: 7.935 MB / 1.325 GB, free: 14.07 MB / 1.029 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 -s gbode -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_2/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: 8.565542391035706]