Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001855/0.001855, allocations: 78.41 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.002191/0.002191, allocations: 169.3 kB / 22.46 MB, free: 5.363 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.489/1.489, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.888/2.888, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.411e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006808/0.006843, allocations: 4.568 MB / 0.9859 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004511/0.01135, allocations: 2.385 MB / 0.9882 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.01175, allocations: 35.62 kB / 0.9883 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.01306, allocations: 405.2 kB / 0.9886 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01421, allocations: 485.1 kB / 0.9891 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.01518, allocations: 371 kB / 0.9895 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01643, allocations: 0.9485 MB / 0.9904 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.01696, allocations: 326.4 kB / 0.9907 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.01771, allocations: 0.4908 MB / 0.9912 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.01823, allocations: 303 kB / 0.9915 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.0183, allocations: 36 kB / 0.9915 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007317/0.01903, allocations: 367 kB / 0.9918 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.01924, allocations: 191.3 kB / 0.992 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.01956, allocations: 211.5 kB / 0.9922 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.02073, allocations: 0.9032 MB / 0.9931 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.02073, allocations: 0 / 0.9931 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/0.02073, allocations: 4 kB / 0.9931 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.02074, allocations: 0 / 0.9931 GB, free: 14.9 MB / 0.9044 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.001489/0.02223, allocations: 0.874 MB / 0.994 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.02227, allocations: 12.03 kB / 0.994 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.02362, allocations: 208.3 kB / 0.9942 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.02448, allocations: 480 kB / 0.9946 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.02453, allocations: 37.36 kB / 0.9947 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.02461, allocations: 40.38 kB / 0.9947 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.02593, allocations: 0.9666 MB / 0.9957 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.02596, allocations: 4.125 kB / 0.9957 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.02601, allocations: 28.36 kB / 0.9957 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.02612, allocations: 68.89 kB / 0.9958 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009244/0.02704, allocations: 0.5695 MB / 0.9963 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.03165, allocations: 4.615 MB / 1.001 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.03235, allocations: 430.2 kB / 1.001 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.03267, allocations: 200.7 kB / 1.001 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.0327, allocations: 4 kB / 1.001 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.03274, allocations: 42.5 kB / 1.001 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.03274, allocations: 0 / 1.001 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002627/0.03537, allocations: 1.117 MB / 1.003 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.03542, allocations: 59.62 kB / 1.003 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.03596, allocations: 474.5 kB / 1.003 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.03599, allocations: 29.7 kB / 1.003 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.0363, allocations: 368.2 kB / 1.003 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.03642, allocations: 127 kB / 1.004 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.03658, allocations: 106.2 kB / 1.004 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.03678, allocations: 366.7 kB / 1.004 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.03708, allocations: 197.2 kB / 1.004 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.03761, allocations: 451.3 kB / 1.005 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.03853, allocations: 0.6882 MB / 1.005 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03853, allocations: 0 / 1.005 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001423/0.03995, allocations: 0.806 MB / 1.006 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.03998, allocations: 19.92 kB / 1.006 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.03999, allocations: 8 kB / 1.006 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/0.04051, allocations: 144.2 kB / 1.006 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.041, allocations: 127.7 kB / 1.006 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.04482, allocations: 3.965 MB / 1.01 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.04522, allocations: 35.97 kB / 1.01 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.04527, allocations: 28 kB / 1.01 GB, free: 12.21 MB / 0.92 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.0002962/0.04557, allocations: 213.5 kB / 1.011 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.04566, allocations: 59.72 kB / 1.011 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.04679, allocations: 0.6004 MB / 1.011 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0468, allocations: 0 / 1.011 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.0468, allocations: 7.938 kB / 1.011 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.04681, allocations: 0 / 1.011 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.04867, allocations: 1.117 MB / 1.012 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.04868, allocations: 4 kB / 1.012 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.04895, allocations: 51.89 kB / 1.012 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.04943, allocations: 152.3 kB / 1.012 GB, free: 9.891 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.04946, allocations: 8 kB / 1.012 GB, free: 9.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.0532, allocations: 3.946 MB / 1.016 GB, free: 5.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.05321, allocations: 4.312 kB / 1.016 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.05437, allocations: 0.704 MB / 1.017 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.05458, allocations: 91.5 kB / 1.017 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.05464, allocations: 8 kB / 1.017 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.05494, allocations: 27.97 kB / 1.017 GB, free: 4.742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.05503, allocations: 39.81 kB / 1.017 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.05505, allocations: 8 kB / 1.017 GB, free: 4.695 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003609/0.05541, allocations: 298.9 kB / 1.017 GB, free: 4.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.05541, allocations: 0 / 1.017 GB, free: 4.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00069/0.0561, allocations: 140 kB / 1.018 GB, free: 4.27 MB / 0.92 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.0001785/0.05628, allocations: 120.4 kB / 1.018 GB, free: 4.148 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.05771, allocations: 0.85 MB / 1.019 GB, free: 3.254 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.05771, allocations: 0 / 1.019 GB, free: 3.254 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.05855, allocations: 0.577 MB / 1.019 GB, free: 2.633 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.05955, allocations: 194.2 kB / 1.019 GB, free: 2.449 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.06126, allocations: 1.024 MB / 1.02 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.06161, allocations: 319.3 kB / 1.021 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002887/0.0619, allocations: 112.9 kB / 1.021 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.062, allocations: 40.5 kB / 1.021 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of SimCode: time 1.322e-06/0.062, allocations: 0 / 1.021 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of Templates: time 0.01632/0.07832, allocations: 7.737 MB / 1.028 GB, free: 9.383 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.408139552921057]