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.001357/0.001357, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001029/0.001029, allocations: 185 kB / 24.09 MB, free: 416 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.9135/0.9135, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.749/1.749, allocations: 359 MB / 0.6055 GB, free: 10.89 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.934e-06/1.934e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.872e-05, allocations: 4.859 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00628/0.006309, allocations: 3.741 MB / 0.7912 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003343/0.009652, allocations: 1.368 MB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.01019, allocations: 36.28 kB / 0.7926 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.01092, allocations: 168.3 kB / 0.7927 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009848/0.01191, allocations: 356.7 kB / 0.7931 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.01273, allocations: 319.6 kB / 0.7934 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.01414, allocations: 0.9447 MB / 0.7943 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006539/0.01479, allocations: 318.4 kB / 0.7946 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01581, allocations: 494.6 kB / 0.7951 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.01652, allocations: 328.3 kB / 0.7954 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.01664, allocations: 37.16 kB / 0.7954 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.01695, allocations: 111.8 kB / 0.7955 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.01716, allocations: 195.3 kB / 0.7957 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.01744, allocations: 204 kB / 0.7959 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.01848, allocations: 0.5064 MB / 0.7964 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.01848, allocations: 0 / 0.7964 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01848, allocations: 5.312 kB / 0.7964 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.751e-05/0.01851, allocations: 0 / 0.7964 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.001272/0.01978, allocations: 0.9427 MB / 0.7973 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.01983, allocations: 12.02 kB / 0.7974 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.02069, allocations: 216.1 kB / 0.7976 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.02145, allocations: 491.2 kB / 0.798 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.02149, allocations: 37.36 kB / 0.7981 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.02156, allocations: 52.31 kB / 0.7981 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.0224, allocations: 0.8259 MB / 0.7989 GB, free: 300 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.02243, allocations: 5.031 kB / 0.7989 GB, free: 296 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.02248, allocations: 20.38 kB / 0.7989 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.02258, allocations: 72.89 kB / 0.799 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.02303, allocations: 257.1 kB / 0.7993 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.02711, allocations: 6.168 MB / 0.8053 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.0275, allocations: 247.1 kB / 0.8055 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.02764, allocations: 80.72 kB / 0.8056 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.02766, allocations: 4 kB / 0.8056 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.0277, allocations: 41.33 kB / 0.8056 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.946e-06/0.0277, allocations: 0.7812 kB / 0.8056 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001481/0.02918, allocations: 0.5701 MB / 0.8062 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.02922, allocations: 55.69 kB / 0.8063 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.0296, allocations: 499 kB / 0.8067 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.02962, allocations: 29.7 kB / 0.8068 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.02988, allocations: 419.6 kB / 0.8072 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.02998, allocations: 127 kB / 0.8073 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.03011, allocations: 120.5 kB / 0.8074 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.0303, allocations: 0.539 MB / 0.8079 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.03041, allocations: 71.41 kB / 0.808 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.03074, allocations: 430.8 kB / 0.8084 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.03128, allocations: 0.5425 MB / 0.8089 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.03128, allocations: 4 kB / 0.8089 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008918/0.03218, allocations: 0.5738 MB / 0.8095 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.0322, allocations: 8 kB / 0.8095 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.03222, allocations: 8 kB / 0.8095 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.03264, allocations: 130.7 kB / 0.8096 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.03299, allocations: 115.8 kB / 0.8097 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.03603, allocations: 5.171 MB / 0.8148 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.03639, allocations: 19.98 kB / 0.8148 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.03643, allocations: 24 kB / 0.8148 GB, free: 14.96 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.0002143/0.03664, allocations: 216.4 kB / 0.815 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.03674, allocations: 71.62 kB / 0.8151 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.03732, allocations: 337 kB / 0.8154 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.03733, allocations: 11.92 kB / 0.8154 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.03734, allocations: 4 kB / 0.8154 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.03734, allocations: 0 / 0.8154 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.03839, allocations: 0.7835 MB / 0.8162 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.0384, allocations: 4 kB / 0.8162 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.03856, allocations: 43.92 kB / 0.8163 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.03884, allocations: 114.5 kB / 0.8164 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.03886, allocations: 12 kB / 0.8164 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.04142, allocations: 5.156 MB / 0.8214 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.04142, allocations: 11.92 kB / 0.8214 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.04206, allocations: 0.5315 MB / 0.8219 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.04221, allocations: 83.56 kB / 0.822 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.04226, allocations: 8 kB / 0.822 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.04243, allocations: 12 kB / 0.822 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.0425, allocations: 35.88 kB / 0.8221 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.04251, allocations: 4 kB / 0.8221 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002172/0.04273, allocations: 294.7 kB / 0.8224 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.04273, allocations: 0 / 0.8224 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006703/0.0434, allocations: 140 kB / 0.8225 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.0001547/0.04355, allocations: 115.2 kB / 0.8226 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008633/0.04442, allocations: 0.8205 MB / 0.8234 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.04442, allocations: 0 / 0.8234 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.04493, allocations: 0.6384 MB / 0.824 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.04574, allocations: 197.2 kB / 0.8242 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.04722, allocations: 0.9728 MB / 0.8252 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.04735, allocations: 154 kB / 0.8253 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.04757, allocations: 69.05 kB / 0.8254 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.04789, allocations: 218.1 kB / 0.8256 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/0.04789, allocations: 0 / 0.8256 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of Templates: time 0.01134/0.05924, allocations: 8.373 MB / 0.8338 GB, free: 11 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.032381535042077]