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.001086/0.001086, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009968/0.0009968, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9888/0.9888, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.083e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006534/0.006564, allocations: 4.853 MB / 0.7918 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.0107, allocations: 2.497 MB / 0.7943 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000525/0.01123, allocations: 35.62 kB / 0.7943 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.01235, allocations: 414.9 kB / 0.7947 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.0136, allocations: 485.6 kB / 0.7952 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009014/0.0145, allocations: 373.9 kB / 0.7955 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.01573, allocations: 0.9409 MB / 0.7964 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.01636, allocations: 326.9 kB / 0.7968 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007945/0.01715, allocations: 491.1 kB / 0.7972 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.01771, allocations: 304 kB / 0.7975 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.0178, allocations: 37.16 kB / 0.7975 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007171/0.01852, allocations: 367 kB / 0.7979 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.01872, allocations: 195.4 kB / 0.7981 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.01898, allocations: 216.2 kB / 0.7983 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009591/0.01994, allocations: 0.6733 MB / 0.7989 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01994, allocations: 0.8438 kB / 0.7989 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01994, allocations: 0 / 0.7989 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.01996, allocations: 5.266 kB / 0.799 GB, free: 0.6406 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.001293/0.02125, allocations: 0.972 MB / 0.7999 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.0213, allocations: 17.39 kB / 0.7999 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.02256, allocations: 280 kB / 0.8002 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.02329, allocations: 0.5033 MB / 0.8007 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.02332, allocations: 32.22 kB / 0.8007 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.02339, allocations: 48.36 kB / 0.8008 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.0243, allocations: 0.8611 MB / 0.8016 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.02432, allocations: 8.125 kB / 0.8016 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.02437, allocations: 28.3 kB / 0.8016 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.521e-05/0.02447, allocations: 72.89 kB / 0.8017 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.025, allocations: 297.5 kB / 0.802 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.02872, allocations: 6.288 MB / 0.8081 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.02916, allocations: 277 kB / 0.8084 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.02932, allocations: 84.19 kB / 0.8085 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.02935, allocations: 4 kB / 0.8085 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.02938, allocations: 45.38 kB / 0.8085 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.02938, allocations: 4 kB / 0.8085 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001681/0.03106, allocations: 0.6897 MB / 0.8092 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.0311, allocations: 55.69 kB / 0.8092 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.03155, allocations: 0.4906 MB / 0.8097 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.03157, allocations: 29.7 kB / 0.8098 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.03181, allocations: 415 kB / 0.8101 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.03191, allocations: 127 kB / 0.8103 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.03206, allocations: 111.9 kB / 0.8104 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.03224, allocations: 0.5352 MB / 0.8109 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.03241, allocations: 101.1 kB / 0.811 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.0328, allocations: 450.8 kB / 0.8114 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.03342, allocations: 0.5857 MB / 0.812 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.03343, allocations: 4 kB / 0.812 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001011/0.03444, allocations: 0.6046 MB / 0.8126 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.03447, allocations: 9.719 kB / 0.8126 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.03448, allocations: 8 kB / 0.8126 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.0349, allocations: 139 kB / 0.8127 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.03528, allocations: 119.8 kB / 0.8129 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.03826, allocations: 5.255 MB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.03862, allocations: 39.97 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.03865, allocations: 24 kB / 0.818 GB, free: 11.74 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.0001874/0.03884, allocations: 196.3 kB / 0.8182 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.03894, allocations: 71.62 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.03961, allocations: 369 kB / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.03961, allocations: 8.031 kB / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.03962, allocations: 7.938 kB / 0.8187 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.03963, allocations: 3.984 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.04089, allocations: 0.8882 MB / 0.8195 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.0409, allocations: 4 kB / 0.8195 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.0411, allocations: 59.89 kB / 0.8196 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.04142, allocations: 114.6 kB / 0.8197 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.04145, allocations: 8 kB / 0.8197 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.04424, allocations: 5.244 MB / 0.8248 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.04424, allocations: 4 kB / 0.8248 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.04497, allocations: 0.5624 MB / 0.8254 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.04513, allocations: 87.56 kB / 0.8255 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.04519, allocations: 8 kB / 0.8255 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.04541, allocations: 23.97 kB / 0.8255 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.0455, allocations: 39.81 kB / 0.8255 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.04552, allocations: 12 kB / 0.8256 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000276/0.04579, allocations: 306.8 kB / 0.8259 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.04579, allocations: 3.938 kB / 0.8259 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006805/0.04647, allocations: 148 kB / 0.826 GB, free: 3.012 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.0001173/0.04659, allocations: 103.2 kB / 0.8261 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008165/0.04741, allocations: 0.851 MB / 0.8269 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.04741, allocations: 0 / 0.8269 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.04784, allocations: 0.6568 MB / 0.8276 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.04844, allocations: 191.1 kB / 0.8277 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.04969, allocations: 0.9754 MB / 0.8287 GB, free: 40 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.04981, allocations: 154 kB / 0.8288 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00021/0.05002, allocations: 101 kB / 0.8289 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.05009, allocations: 40.5 kB / 0.829 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of SimCode: time 1.242e-06/0.05009, allocations: 0 / 0.829 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of Templates: time 0.00989/0.05998, allocations: 7.848 MB / 0.8366 GB, free: 8.102 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] 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","",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.122583417920396]