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.001491/0.001491, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002361/0.002361, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.751/2.751, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] 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 2.204e-06/2.204e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.377e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008469/0.008503, allocations: 4.564 MB / 0.7908 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005507/0.01401, allocations: 2.395 MB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.01471, allocations: 27.69 kB / 0.7932 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.01637, allocations: 414.5 kB / 0.7936 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.01803, allocations: 483.5 kB / 0.7941 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01912, allocations: 377.9 kB / 0.7944 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.02058, allocations: 0.937 MB / 0.7953 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.02118, allocations: 322.4 kB / 0.7956 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008245/0.02201, allocations: 496 kB / 0.7961 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.02253, allocations: 303.1 kB / 0.7964 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.0226, allocations: 40 kB / 0.7964 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009784/0.02358, allocations: 364.2 kB / 0.7968 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.02386, allocations: 191.4 kB / 0.797 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.02418, allocations: 215.4 kB / 0.7972 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.02558, allocations: 0.9037 MB / 0.7981 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.02559, allocations: 0.5312 kB / 0.7981 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.595e-06/0.02559, allocations: 0 / 0.7981 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.0256, allocations: 0.875 kB / 0.7981 GB, free: 0.832 MB / 0.7448 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.001685/0.02729, allocations: 0.8806 MB / 0.7989 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.02733, allocations: 9.188 kB / 0.7989 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.02869, allocations: 292 kB / 0.7992 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.02958, allocations: 0.4954 MB / 0.7997 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.02963, allocations: 33.38 kB / 0.7997 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.02973, allocations: 52.34 kB / 0.7998 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.03112, allocations: 0.9664 MB / 0.8007 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.03115, allocations: 12.12 kB / 0.8007 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.03121, allocations: 28.3 kB / 0.8008 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.03132, allocations: 68.89 kB / 0.8008 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.03225, allocations: 0.567 MB / 0.8014 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.03752, allocations: 4.625 MB / 0.8059 GB, free: 8.426 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.03828, allocations: 428.1 kB / 0.8063 GB, free: 8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.03862, allocations: 201.3 kB / 0.8065 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.03866, allocations: 11.34 kB / 0.8065 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.0387, allocations: 34.55 kB / 0.8065 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.0387, allocations: 0 / 0.8065 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002785/0.04148, allocations: 1.128 MB / 0.8076 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.04154, allocations: 55.69 kB / 0.8077 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.04215, allocations: 479.6 kB / 0.8081 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.04218, allocations: 29.7 kB / 0.8082 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.0425, allocations: 360.3 kB / 0.8085 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.04264, allocations: 132 kB / 0.8086 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.04281, allocations: 110.2 kB / 0.8088 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.04303, allocations: 366.7 kB / 0.8091 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.04336, allocations: 194 kB / 0.8093 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.04394, allocations: 451.3 kB / 0.8097 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.04491, allocations: 0.6848 MB / 0.8104 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.04491, allocations: 4 kB / 0.8104 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001614/0.04653, allocations: 0.837 MB / 0.8112 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.04655, allocations: 8 kB / 0.8112 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.04657, allocations: 8 kB / 0.8112 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.04716, allocations: 160.6 kB / 0.8114 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.04765, allocations: 123.8 kB / 0.8115 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/0.05178, allocations: 3.976 MB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.05228, allocations: 35.97 kB / 0.8154 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.05233, allocations: 24.31 kB / 0.8154 GB, free: 14 MB / 0.7761 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.0003446/0.05268, allocations: 213.6 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.05279, allocations: 63.67 kB / 0.8157 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.05401, allocations: 0.6001 MB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.05402, allocations: 4 kB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.05403, allocations: 7.938 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.05404, allocations: 3.984 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.05612, allocations: 1.113 MB / 0.8174 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.05612, allocations: 0 / 0.8174 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.05639, allocations: 55.89 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.05688, allocations: 148.4 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.05691, allocations: 8 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003846/0.06075, allocations: 3.958 MB / 0.8215 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.06076, allocations: 4.031 kB / 0.8215 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.06199, allocations: 0.7165 MB / 0.8222 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.06221, allocations: 91.58 kB / 0.8222 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.06227, allocations: 8 kB / 0.8223 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.06252, allocations: 19.97 kB / 0.8223 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.06261, allocations: 39.81 kB / 0.8223 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.06263, allocations: 12 kB / 0.8223 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003905/0.06302, allocations: 298.9 kB / 0.8226 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.06302, allocations: 3.938 kB / 0.8226 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007252/0.06375, allocations: 144 kB / 0.8227 GB, free: 6.031 MB / 0.7761 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.0001848/0.06393, allocations: 119.1 kB / 0.8229 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.06545, allocations: 0.8542 MB / 0.8237 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.06546, allocations: 0 / 0.8237 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.06642, allocations: 0.5686 MB / 0.8242 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.0674, allocations: 196 kB / 0.8244 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.06924, allocations: 1.049 MB / 0.8255 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.0696, allocations: 303.4 kB / 0.8257 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003317/0.06993, allocations: 113 kB / 0.8259 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.07004, allocations: 36.5 kB / 0.8259 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.07004, allocations: 0 / 0.8259 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of Templates: time 0.0162/0.08624, allocations: 7.795 MB / 0.8335 GB, free: 11.06 MB / 0.7917 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.111514084972441]