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.001225/0.001225, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001202/0.001202, allocations: 173 kB / 23.49 MB, free: 1.059 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.09/2.09, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 3.717e-06/3.717e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/3.1e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01192/0.01195, allocations: 4.865 MB / 0.8829 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006204/0.01815, allocations: 2.495 MB / 0.8854 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.01849, allocations: 35.62 kB / 0.8854 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.01932, allocations: 405.8 kB / 0.8858 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000837/0.02016, allocations: 489.8 kB / 0.8863 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.02078, allocations: 375.4 kB / 0.8866 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009403/0.02172, allocations: 0.9408 MB / 0.8875 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.02219, allocations: 322.4 kB / 0.8878 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.02275, allocations: 490.7 kB / 0.8883 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.02311, allocations: 304.8 kB / 0.8886 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.02315, allocations: 40 kB / 0.8886 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.02373, allocations: 366.9 kB / 0.889 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.02389, allocations: 199.3 kB / 0.8892 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.02406, allocations: 207.5 kB / 0.8894 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.02473, allocations: 0.674 MB / 0.89 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.02474, allocations: 1.656 kB / 0.89 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.823e-06/0.02474, allocations: 4 kB / 0.89 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.02475, allocations: 0 / 0.89 GB, free: 10.5 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.0009283/0.02568, allocations: 0.9832 MB / 0.891 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.02572, allocations: 8.031 kB / 0.891 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.02663, allocations: 283.9 kB / 0.8913 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.02718, allocations: 0.5027 MB / 0.8918 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.02721, allocations: 41.34 kB / 0.8918 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.02726, allocations: 44.36 kB / 0.8918 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.02789, allocations: 0.861 MB / 0.8927 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.02792, allocations: 20.08 kB / 0.8927 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.02796, allocations: 28.34 kB / 0.8927 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.02803, allocations: 64.91 kB / 0.8928 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.02843, allocations: 305.2 kB / 0.8931 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.03135, allocations: 6.28 MB / 0.8992 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.03168, allocations: 275 kB / 0.8995 GB, free: 312 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.03179, allocations: 83.59 kB / 0.8996 GB, free: 224 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.03182, allocations: 8 kB / 0.8996 GB, free: 216 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.03184, allocations: 37.39 kB / 0.8996 GB, free: 168 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 3.336e-06/0.03184, allocations: 3.938 kB / 0.8996 GB, free: 164 kB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001281/0.03312, allocations: 0.687 MB / 0.9003 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.03315, allocations: 55.69 kB / 0.9003 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.03346, allocations: 0.4983 MB / 0.9008 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.03348, allocations: 33.7 kB / 0.9009 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.03366, allocations: 415 kB / 0.9012 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.03381, allocations: 123 kB / 0.9014 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.03391, allocations: 119.9 kB / 0.9015 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.03405, allocations: 0.5352 MB / 0.902 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.03417, allocations: 89.27 kB / 0.9021 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.03445, allocations: 450.8 kB / 0.9025 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.0349, allocations: 0.5824 MB / 0.9031 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.0349, allocations: 4 kB / 0.9031 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006554/0.03556, allocations: 0.6128 MB / 0.9037 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.03558, allocations: 14.38 kB / 0.9037 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.03559, allocations: 8 kB / 0.9037 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.03591, allocations: 126.3 kB / 0.9038 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.03617, allocations: 127.7 kB / 0.904 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.03864, allocations: 5.256 MB / 0.9091 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.03888, allocations: 35.97 kB / 0.9091 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.03891, allocations: 28 kB / 0.9091 GB, free: 5.57 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.0001779/0.03908, allocations: 204.4 kB / 0.9093 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.03915, allocations: 67.62 kB / 0.9094 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.03962, allocations: 373 kB / 0.9098 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.03963, allocations: 4 kB / 0.9098 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.03963, allocations: 3.938 kB / 0.9098 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.03964, allocations: 0 / 0.9098 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.04057, allocations: 0.8966 MB / 0.9106 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.04057, allocations: 0 / 0.9106 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.04072, allocations: 59.89 kB / 0.9107 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.04097, allocations: 118.3 kB / 0.9108 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.04098, allocations: 4 kB / 0.9108 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.0433, allocations: 5.241 MB / 0.9159 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.0433, allocations: 3.938 kB / 0.9159 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.04392, allocations: 0.5673 MB / 0.9165 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.04408, allocations: 87.52 kB / 0.9166 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.04411, allocations: 8 kB / 0.9166 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.04423, allocations: 28.12 kB / 0.9166 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.0443, allocations: 35.88 kB / 0.9166 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.04432, allocations: 12 kB / 0.9167 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002187/0.04454, allocations: 306.8 kB / 0.917 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.04454, allocations: 0 / 0.917 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005556/0.04509, allocations: 144 kB / 0.9171 GB, free: 12.85 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.0001707/0.04526, allocations: 111.2 kB / 0.9172 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.04647, allocations: 0.8393 MB / 0.918 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.04648, allocations: 0 / 0.918 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.04714, allocations: 0.6574 MB / 0.9187 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/0.04794, allocations: 202.2 kB / 0.9188 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.04987, allocations: 0.9684 MB / 0.9198 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.04997, allocations: 150 kB / 0.9199 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.05019, allocations: 96.97 kB / 0.92 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.05025, allocations: 40.5 kB / 0.9201 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of SimCode: time 1.764e-06/0.05025, allocations: 0 / 0.9201 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of Templates: time 0.01384/0.06409, allocations: 7.856 MB / 0.9277 GB, free: 1.922 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.65905904606916]