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.001073/0.001073, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00123/0.00123, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9785/0.9785, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.829/1.829, allocations: 359 MB / 0.6063 GB, free: 10.9 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 3.035e-06/3.035e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.248e-05, allocations: 4.703 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006443/0.006475, allocations: 3.748 MB / 0.792 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.009634, allocations: 1.373 MB / 0.7933 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.01013, allocations: 36.31 kB / 0.7933 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.01091, allocations: 168.3 kB / 0.7935 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000988/0.0119, allocations: 361.9 kB / 0.7938 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.01264, allocations: 313.8 kB / 0.7941 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.0139, allocations: 0.9447 MB / 0.7951 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.01449, allocations: 314.4 kB / 0.7954 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.01533, allocations: 0.4885 MB / 0.7958 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.01595, allocations: 332.3 kB / 0.7962 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.01602, allocations: 36 kB / 0.7962 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.01632, allocations: 103.9 kB / 0.7963 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.01654, allocations: 196.7 kB / 0.7965 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.01681, allocations: 211.4 kB / 0.7967 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.01761, allocations: 0.502 MB / 0.7972 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.669e-06/0.01762, allocations: 0 / 0.7972 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01762, allocations: 0.5312 kB / 0.7972 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.01764, allocations: 1.594 kB / 0.7972 GB, free: 3.117 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.001326/0.01896, allocations: 0.9521 MB / 0.7981 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.01901, allocations: 8.562 kB / 0.7981 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.02021, allocations: 213.2 kB / 0.7983 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.02094, allocations: 490.6 kB / 0.7988 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.02099, allocations: 33.38 kB / 0.7988 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.02106, allocations: 52.31 kB / 0.7989 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.02182, allocations: 0.8243 MB / 0.7997 GB, free: 308 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.02184, allocations: 12.11 kB / 0.7997 GB, free: 296 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.02189, allocations: 24.36 kB / 0.7997 GB, free: 272 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-05/0.02198, allocations: 68.89 kB / 0.7998 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.02235, allocations: 254.9 kB / 0.8 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.02623, allocations: 6.166 MB / 0.806 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.0266, allocations: 256.1 kB / 0.8063 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.02672, allocations: 71.66 kB / 0.8064 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.02675, allocations: 4 kB / 0.8064 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.02678, allocations: 45.33 kB / 0.8064 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 4.188e-06/0.02679, allocations: 0 / 0.8064 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001411/0.0282, allocations: 0.5649 MB / 0.807 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.02823, allocations: 51.69 kB / 0.807 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.02861, allocations: 0.4914 MB / 0.8075 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.02864, allocations: 33.7 kB / 0.8075 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.02888, allocations: 415 kB / 0.8079 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.02897, allocations: 127.8 kB / 0.808 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.02912, allocations: 123.8 kB / 0.8081 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.0293, allocations: 0.5394 MB / 0.8087 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.02942, allocations: 70.12 kB / 0.8087 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.02975, allocations: 430.8 kB / 0.8092 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.03027, allocations: 0.5515 MB / 0.8097 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.03028, allocations: 0 / 0.8097 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000819/0.03109, allocations: 0.558 MB / 0.8102 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.03112, allocations: 12 kB / 0.8102 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.03113, allocations: 8 kB / 0.8103 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.0315, allocations: 134.6 kB / 0.8104 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.03183, allocations: 115.8 kB / 0.8105 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.03509, allocations: 5.171 MB / 0.8155 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.03542, allocations: 16 kB / 0.8156 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.03546, allocations: 24.22 kB / 0.8156 GB, free: 14.97 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.0002021/0.03566, allocations: 212.2 kB / 0.8158 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.03575, allocations: 67.62 kB / 0.8158 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.03632, allocations: 345 kB / 0.8162 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.03632, allocations: 4 kB / 0.8162 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.03633, allocations: 4 kB / 0.8162 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.03634, allocations: 3.984 kB / 0.8162 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.03743, allocations: 0.7872 MB / 0.817 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.03744, allocations: 4 kB / 0.817 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.03761, allocations: 39.92 kB / 0.817 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.03791, allocations: 118.5 kB / 0.8171 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.03793, allocations: 11.94 kB / 0.8171 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.04054, allocations: 5.16 MB / 0.8222 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.04054, allocations: 3.938 kB / 0.8222 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.04099, allocations: 0.5431 MB / 0.8227 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.0411, allocations: 79.58 kB / 0.8228 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.04113, allocations: 8 kB / 0.8228 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.04125, allocations: 4 kB / 0.8228 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.0413, allocations: 39.81 kB / 0.8228 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.04131, allocations: 12 kB / 0.8228 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000145/0.04146, allocations: 294.7 kB / 0.8231 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.04146, allocations: 0 / 0.8231 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004448/0.0419, allocations: 140 kB / 0.8232 GB, free: 6.566 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.0001191/0.04202, allocations: 115.2 kB / 0.8234 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006612/0.04268, allocations: 0.8078 MB / 0.8241 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.04269, allocations: 4 kB / 0.8242 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.04306, allocations: 0.6339 MB / 0.8248 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.04364, allocations: 193.4 kB / 0.825 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.04493, allocations: 0.9684 MB / 0.8259 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.04503, allocations: 154 kB / 0.826 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.04519, allocations: 73.03 kB / 0.8261 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.04544, allocations: 218.1 kB / 0.8263 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.04544, allocations: 0 / 0.8263 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.0109/0.05633, allocations: 8.535 MB / 0.8347 GB, free: 10.89 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.282906148117036]