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.001489/0.001489, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001283/0.001283, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9334/0.9334, allocations: 177.2 MB / 203.7 MB, free: 5.5 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 2.321/2.321, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.473e-06/1.473e-06, allocations: 0 / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.763e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003392/0.00341, allocations: 3.753 MB / 0.8934 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.005384, allocations: 1.361 MB / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.00562, allocations: 35.62 kB / 0.8948 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.006065, allocations: 170.6 kB / 0.8949 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.006528, allocations: 353.8 kB / 0.8953 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.006939, allocations: 323.3 kB / 0.8956 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.007571, allocations: 0.9486 MB / 0.8965 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.007891, allocations: 314.4 kB / 0.8968 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.008315, allocations: 498.6 kB / 0.8973 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.008643, allocations: 339 kB / 0.8976 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.008685, allocations: 36 kB / 0.8976 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.00883, allocations: 103.8 kB / 0.8977 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.008947, allocations: 191.4 kB / 0.8979 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.009077, allocations: 203.4 kB / 0.8981 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.009454, allocations: 0.5059 MB / 0.8986 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009456, allocations: 0 / 0.8986 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.61e-07/0.009457, allocations: 0 / 0.8986 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.009462, allocations: 4 kB / 0.8986 GB, free: 0.5938 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.0007331/0.0102, allocations: 0.9426 MB / 0.8995 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.01023, allocations: 12.62 kB / 0.8995 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.01072, allocations: 216 kB / 0.8998 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.01115, allocations: 497.9 kB / 0.9002 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.01117, allocations: 37.36 kB / 0.9003 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.01122, allocations: 44.36 kB / 0.9003 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.01172, allocations: 0.8182 MB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.01173, allocations: 16.06 kB / 0.9011 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.01176, allocations: 24.31 kB / 0.9011 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.01182, allocations: 72.89 kB / 0.9012 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.01204, allocations: 250.2 kB / 0.9015 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.01441, allocations: 6.163 MB / 0.9075 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.01465, allocations: 258.9 kB / 0.9077 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.01473, allocations: 79.62 kB / 0.9078 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01475, allocations: 8 kB / 0.9078 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.01477, allocations: 37.39 kB / 0.9078 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.01477, allocations: 0 / 0.9078 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008522/0.01562, allocations: 0.5623 MB / 0.9084 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.01564, allocations: 55.67 kB / 0.9084 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.01589, allocations: 498.1 kB / 0.9089 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.01591, allocations: 37.69 kB / 0.9089 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.01608, allocations: 415 kB / 0.9093 GB, free: 5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.01614, allocations: 122.9 kB / 0.9095 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.01623, allocations: 119.9 kB / 0.9096 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.01636, allocations: 0.5351 MB / 0.9101 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.01643, allocations: 77.19 kB / 0.9102 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.01664, allocations: 434.8 kB / 0.9106 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.01698, allocations: 0.5544 MB / 0.9111 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01698, allocations: 0 / 0.9111 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005133/0.01749, allocations: 0.5612 MB / 0.9117 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01751, allocations: 8.969 kB / 0.9117 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01752, allocations: 8 kB / 0.9117 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.01774, allocations: 126.3 kB / 0.9118 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.01795, allocations: 119.8 kB / 0.9119 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.01992, allocations: 5.187 MB / 0.917 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.02006, allocations: 24 kB / 0.917 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.02008, allocations: 20 kB / 0.917 GB, free: 12.39 MB / 0.8855 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.0001166/0.0202, allocations: 200.3 kB / 0.9172 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.02025, allocations: 71.73 kB / 0.9173 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.0206, allocations: 349.1 kB / 0.9176 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0206, allocations: 4 kB / 0.9176 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.0206, allocations: 0 / 0.9176 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02061, allocations: 4 kB / 0.9176 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.02127, allocations: 0.7918 MB / 0.9184 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02127, allocations: 4 kB / 0.9184 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.02138, allocations: 44.12 kB / 0.9185 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.02156, allocations: 114.3 kB / 0.9186 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.02158, allocations: 8 kB / 0.9186 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.0233, allocations: 5.16 MB / 0.9236 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.0233, allocations: 7.938 kB / 0.9236 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.02369, allocations: 0.5307 MB / 0.9241 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.02378, allocations: 83.58 kB / 0.9242 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.02381, allocations: 11.98 kB / 0.9242 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.02391, allocations: 8 kB / 0.9242 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.02395, allocations: 35.83 kB / 0.9243 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.02396, allocations: 12.09 kB / 0.9243 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001318/0.02409, allocations: 294.7 kB / 0.9246 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.02409, allocations: 3.938 kB / 0.9246 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003405/0.02443, allocations: 144 kB / 0.9247 GB, free: 3.988 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 9.082e-05/0.02452, allocations: 107.2 kB / 0.9248 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.02509, allocations: 0.8096 MB / 0.9256 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02509, allocations: 4 kB / 0.9256 GB, free: 3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.02543, allocations: 0.6376 MB / 0.9262 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.02594, allocations: 193.4 kB / 0.9264 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.02701, allocations: 0.9675 MB / 0.9274 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.02713, allocations: 154 kB / 0.9275 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.02731, allocations: 73.02 kB / 0.9276 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.02757, allocations: 226 kB / 0.9278 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/0.02757, allocations: 0 / 0.9278 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of Templates: time 0.01011/0.03768, allocations: 8.357 MB / 0.9359 GB, free: 8.43 MB / 0.9011 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.300801396835595]