Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009818/0.0009818, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.000924/0.000924, allocations: 169 kB / 23.02 MB, free: 1.539 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 0.9025/0.9025, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.954/1.954, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.745e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003858/0.003885, allocations: 3.816 MB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.005996, allocations: 1.37 MB / 0.8832 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.006296, allocations: 35.62 kB / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.00687, allocations: 166.7 kB / 0.8834 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006671/0.007538, allocations: 351.6 kB / 0.8838 GB, free: 468 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.008139, allocations: 325.8 kB / 0.8841 GB, free: 144 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.009154, allocations: 0.9494 MB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.009624, allocations: 314.4 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.01028, allocations: 491.5 kB / 0.8858 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.01083, allocations: 339.1 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.0109, allocations: 36 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.01118, allocations: 107.7 kB / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.01135, allocations: 195.4 kB / 0.8864 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.01155, allocations: 203.5 kB / 0.8866 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.01227, allocations: 0.502 MB / 0.8871 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.01228, allocations: 4 kB / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01228, allocations: 0 / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.0123, allocations: 4 kB / 0.8871 GB, free: 13.02 MB / 0.8542 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.00127/0.01357, allocations: 0.943 MB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.01363, allocations: 12.03 kB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00074/0.01437, allocations: 248 kB / 0.8883 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.01501, allocations: 498 kB / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.01504, allocations: 37.36 kB / 0.8888 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.01511, allocations: 52.28 kB / 0.8888 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.01589, allocations: 0.8571 MB / 0.8897 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.01592, allocations: 8.125 kB / 0.8897 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.01597, allocations: 28.36 kB / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.433e-05/0.01606, allocations: 60.91 kB / 0.8898 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.01647, allocations: 305.2 kB / 0.8901 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.02015, allocations: 6.303 MB / 0.8962 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.02058, allocations: 278.9 kB / 0.8965 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.02074, allocations: 83.66 kB / 0.8966 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.02077, allocations: 8 kB / 0.8966 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.0208, allocations: 33.39 kB / 0.8966 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 3.036e-06/0.0208, allocations: 8 kB / 0.8966 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001474/0.02228, allocations: 0.6829 MB / 0.8973 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.02232, allocations: 63.69 kB / 0.8973 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.02278, allocations: 0.4906 MB / 0.8978 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.02281, allocations: 37.7 kB / 0.8978 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.02305, allocations: 411 kB / 0.8982 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.02315, allocations: 126.9 kB / 0.8984 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.02328, allocations: 119.9 kB / 0.8985 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.02346, allocations: 0.5312 MB / 0.899 GB, free: 220 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.02359, allocations: 89.27 kB / 0.8991 GB, free: 132 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.0241, allocations: 446.8 kB / 0.8995 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.02462, allocations: 0.5824 MB / 0.9001 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.02462, allocations: 4 kB / 0.9001 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007863/0.02541, allocations: 0.6162 MB / 0.9007 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.02544, allocations: 11.94 kB / 0.9007 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.02545, allocations: 8 kB / 0.9007 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.02585, allocations: 131 kB / 0.9008 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.02616, allocations: 127.7 kB / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.02936, allocations: 5.256 MB / 0.9061 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.02962, allocations: 36 kB / 0.9061 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.02965, allocations: 28 kB / 0.9061 GB, free: 8.164 MB / 0.8698 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.0001748/0.02983, allocations: 196.3 kB / 0.9063 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.02989, allocations: 71.56 kB / 0.9064 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.03035, allocations: 373 kB / 0.9067 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.03035, allocations: 4 kB / 0.9068 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.03036, allocations: 7.938 kB / 0.9068 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.03036, allocations: 0 / 0.9068 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.03126, allocations: 0.8887 MB / 0.9076 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.03126, allocations: 0 / 0.9076 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.03139, allocations: 55.89 kB / 0.9077 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.03162, allocations: 126.5 kB / 0.9078 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.03164, allocations: 8 kB / 0.9078 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.03394, allocations: 5.225 MB / 0.9129 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.03395, allocations: 7.969 kB / 0.9129 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.03443, allocations: 0.5673 MB / 0.9135 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.03455, allocations: 83.58 kB / 0.9136 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.03459, allocations: 8 kB / 0.9136 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.03471, allocations: 23.97 kB / 0.9136 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.03477, allocations: 43.81 kB / 0.9136 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.03479, allocations: 8 kB / 0.9136 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001835/0.03497, allocations: 306.8 kB / 0.9139 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.03497, allocations: 4 kB / 0.9139 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000432/0.0354, allocations: 144 kB / 0.9141 GB, free: 15.46 MB / 0.8855 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.0001209/0.03552, allocations: 103.2 kB / 0.9142 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007989/0.03632, allocations: 0.8471 MB / 0.915 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.03633, allocations: 0 / 0.915 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.03675, allocations: 0.6611 MB / 0.9156 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.03734, allocations: 196.6 kB / 0.9158 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.03889, allocations: 0.9762 MB / 0.9168 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.03899, allocations: 154 kB / 0.9169 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.03921, allocations: 101 kB / 0.917 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.03927, allocations: 40.5 kB / 0.9171 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/0.03927, allocations: 0 / 0.9171 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.01149/0.05076, allocations: 8.268 MB / 0.9251 GB, free: 4.113 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.295602350030094]