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.001357/0.001357, allocations: 81.42 kB / 19.18 MB, free: 2.531 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.001499/0.001499, allocations: 167.2 kB / 22.46 MB, free: 5.355 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.695/2.695, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.807e-05, allocations: 4.672 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007832/0.00786, allocations: 4.569 MB / 0.9554 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004294/0.01215, allocations: 2.381 MB / 0.9578 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.0125, allocations: 35.62 kB / 0.9578 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.01378, allocations: 409.2 kB / 0.9582 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.0149, allocations: 485.1 kB / 0.9586 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.01577, allocations: 375 kB / 0.959 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01703, allocations: 0.9525 MB / 0.9599 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005634/0.0176, allocations: 322.4 kB / 0.9602 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.01841, allocations: 498.6 kB / 0.9607 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.01896, allocations: 299.1 kB / 0.961 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-05/0.01906, allocations: 43.94 kB / 0.961 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.01974, allocations: 363 kB / 0.9614 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.01997, allocations: 191.4 kB / 0.9616 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.02028, allocations: 219.4 kB / 0.9618 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02151, allocations: 0.8994 MB / 0.9627 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02151, allocations: 3.938 kB / 0.9627 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.22e-07/0.02151, allocations: 0 / 0.9627 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.02153, allocations: 0 / 0.9627 GB, free: 15.57 MB / 0.8731 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.001948/0.02348, allocations: 0.8741 MB / 0.9635 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.02354, allocations: 8.031 kB / 0.9635 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.02505, allocations: 208.2 kB / 0.9637 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.02596, allocations: 476 kB / 0.9642 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.026, allocations: 41.34 kB / 0.9642 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/0.0261, allocations: 40.38 kB / 0.9642 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.02746, allocations: 0.9703 MB / 0.9652 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.0275, allocations: 16.12 kB / 0.9652 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.02756, allocations: 24.36 kB / 0.9652 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.02767, allocations: 64.89 kB / 0.9653 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.02865, allocations: 0.5656 MB / 0.9659 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.03331, allocations: 4.619 MB / 0.9704 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.03402, allocations: 422.3 kB / 0.9708 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.03436, allocations: 200.7 kB / 0.971 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.03439, allocations: 4 kB / 0.971 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.03442, allocations: 42.5 kB / 0.971 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.03443, allocations: 0 / 0.971 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002644/0.03707, allocations: 1.122 MB / 0.9721 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.03712, allocations: 55.69 kB / 0.9721 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.03767, allocations: 478.5 kB / 0.9726 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.03771, allocations: 33.7 kB / 0.9726 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.03801, allocations: 364.3 kB / 0.973 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.03813, allocations: 130.9 kB / 0.9731 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.0383, allocations: 106.2 kB / 0.9732 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.0385, allocations: 366.7 kB / 0.9736 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.03883, allocations: 193.2 kB / 0.9737 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.03937, allocations: 456.8 kB / 0.9742 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.04032, allocations: 0.6835 MB / 0.9748 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.04032, allocations: 4 kB / 0.9749 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001439/0.04176, allocations: 0.8136 MB / 0.9756 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.04178, allocations: 8 kB / 0.9757 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.0418, allocations: 8 kB / 0.9757 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.04235, allocations: 156.6 kB / 0.9758 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.04284, allocations: 127.7 kB / 0.9759 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.04673, allocations: 3.961 MB / 0.9798 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.04711, allocations: 31.97 kB / 0.9798 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.04716, allocations: 28 kB / 0.9799 GB, free: 12.88 MB / 0.8887 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.0002912/0.04745, allocations: 211.7 kB / 0.9801 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.04755, allocations: 63.62 kB / 0.9801 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.04869, allocations: 0.5885 MB / 0.9807 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.0487, allocations: 4 kB / 0.9807 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.04871, allocations: 3.938 kB / 0.9807 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.04871, allocations: 3.984 kB / 0.9807 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.05075, allocations: 1.118 MB / 0.9818 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.05076, allocations: 0 / 0.9818 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.05104, allocations: 59.89 kB / 0.9819 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.05148, allocations: 132.2 kB / 0.982 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.05152, allocations: 15.98 kB / 0.982 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.05526, allocations: 3.953 MB / 0.9859 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.05526, allocations: 4.031 kB / 0.9859 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.05639, allocations: 0.7084 MB / 0.9866 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.05661, allocations: 95.52 kB / 0.9866 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.05668, allocations: 8 kB / 0.9867 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.05695, allocations: 19.97 kB / 0.9867 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.05704, allocations: 39.81 kB / 0.9867 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.05706, allocations: 15.98 kB / 0.9867 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003515/0.05742, allocations: 303 kB / 0.987 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.05742, allocations: 0 / 0.987 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006625/0.05808, allocations: 140 kB / 0.9871 GB, free: 4.938 MB / 0.8887 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.0001572/0.05824, allocations: 111.4 kB / 0.9873 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.05972, allocations: 0.8514 MB / 0.9881 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.05973, allocations: 4.125 kB / 0.9881 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.0606, allocations: 0.572 MB / 0.9886 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.06164, allocations: 185.8 kB / 0.9888 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.06347, allocations: 1.036 MB / 0.9898 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.06382, allocations: 307.4 kB / 0.9901 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003175/0.06414, allocations: 113 kB / 0.9902 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.06426, allocations: 40.5 kB / 0.9903 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.06426, allocations: 7.938 kB / 0.9903 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of Templates: time 0.01596/0.08022, allocations: 7.752 MB / 0.9979 GB, free: 10.04 MB / 0.9044 GB " [Timeout remaining time 300] 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/jenkins/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: 8.006416697055101]