Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0009513/0.0009513, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009273/0.0009273, allocations: 169 kB / 24.28 MB, free: 272 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.925/0.925, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.702/1.702, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.324e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005243/0.005266, allocations: 5.543 MB / 0.7925 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002998/0.008265, allocations: 2.696 MB / 0.7951 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.008506, allocations: 32.41 kB / 0.7952 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.009508, allocations: 0.6949 MB / 0.7959 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.01008, allocations: 437.3 kB / 0.7963 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.01061, allocations: 400.4 kB / 0.7967 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.01129, allocations: 0.9873 MB / 0.7976 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.01171, allocations: 386.4 kB / 0.798 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.01218, allocations: 0.5112 MB / 0.7985 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.01255, allocations: 371 kB / 0.7988 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.01261, allocations: 48.53 kB / 0.7989 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.01294, allocations: 335.1 kB / 0.7992 GB, free: 420 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.01312, allocations: 264.1 kB / 0.7995 GB, free: 156 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.01331, allocations: 243.4 kB / 0.7997 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.01393, allocations: 0.7221 MB / 0.8004 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01393, allocations: 0 / 0.8004 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01394, allocations: 0 / 0.8004 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.01394, allocations: 0 / 0.8004 GB, free: 15.19 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009786/0.01492, allocations: 1.016 MB / 0.8014 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.01496, allocations: 8.031 kB / 0.8014 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.01586, allocations: 297.5 kB / 0.8017 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.01635, allocations: 473.8 kB / 0.8021 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.01638, allocations: 45.36 kB / 0.8022 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.01648, allocations: 56.55 kB / 0.8022 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.01715, allocations: 0.7942 MB / 0.803 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.01717, allocations: 192 / 0.803 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.01721, allocations: 32.05 kB / 0.803 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.01732, allocations: 72.94 kB / 0.8031 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.01768, allocations: 271.8 kB / 0.8034 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.02002, allocations: 4.416 MB / 0.8077 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.02025, allocations: 148.4 kB / 0.8078 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.02037, allocations: 101.3 kB / 0.8079 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.02039, allocations: 12.22 kB / 0.8079 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.02041, allocations: 37.67 kB / 0.808 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.02042, allocations: 4 kB / 0.808 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002491/0.02291, allocations: 1.539 MB / 0.8095 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.02294, allocations: 55.41 kB / 0.8095 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.02323, allocations: 454.5 kB / 0.8099 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.02326, allocations: 33.7 kB / 0.81 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.02342, allocations: 407.1 kB / 0.8104 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.0235, allocations: 146.7 kB / 0.8105 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.02361, allocations: 112 kB / 0.8106 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.02375, allocations: 0.5391 MB / 0.8111 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.02391, allocations: 101.2 kB / 0.8112 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.02416, allocations: 343.3 kB / 0.8116 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.02459, allocations: 486.2 kB / 0.812 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0246, allocations: 0 / 0.812 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008292/0.02543, allocations: 0.641 MB / 0.8127 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.02544, allocations: 8 kB / 0.8127 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.02545, allocations: 8.031 kB / 0.8127 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.02603, allocations: 218.8 kB / 0.8129 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.02631, allocations: 123.8 kB / 0.813 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.02922, allocations: 5.646 MB / 0.8185 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.02941, allocations: 31.97 kB / 0.8185 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.02944, allocations: 23.94 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.02959, allocations: 192.4 kB / 0.8187 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.02966, allocations: 71.7 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/0.03037, allocations: 496.5 kB / 0.8193 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.03038, allocations: 4 kB / 0.8193 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.03038, allocations: 4 kB / 0.8193 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03038, allocations: 4 kB / 0.8193 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.03157, allocations: 1.063 MB / 0.8203 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.03157, allocations: 4 kB / 0.8203 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.03176, allocations: 63.89 kB / 0.8204 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/0.03224, allocations: 210.9 kB / 0.8206 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.03226, allocations: 12 kB / 0.8206 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.0348, allocations: 5.647 MB / 0.8261 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.03481, allocations: 11.94 kB / 0.8261 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.0356, allocations: 0.7421 MB / 0.8269 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.0357, allocations: 87.62 kB / 0.827 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.03575, allocations: 15.94 kB / 0.827 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.0359, allocations: 19.97 kB / 0.827 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.03596, allocations: 43.88 kB / 0.827 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.03598, allocations: 11.98 kB / 0.827 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001799/0.03616, allocations: 295 kB / 0.8273 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03616, allocations: 0 / 0.8273 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004228/0.03658, allocations: 168 kB / 0.8275 GB, free: 1.781 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.03671, allocations: 119.2 kB / 0.8276 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008619/0.03757, allocations: 0.9206 MB / 0.8285 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03757, allocations: 0 / 0.8285 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.03807, allocations: 0.7368 MB / 0.8292 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.03859, allocations: 173.4 kB / 0.8294 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.0401, allocations: 1.145 MB / 0.8305 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.04022, allocations: 186.5 kB / 0.8307 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.0404, allocations: 84.77 kB / 0.8308 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.04047, allocations: 36.5 kB / 0.8308 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of SimCode: time 9.31e-07/0.04047, allocations: 0 / 0.8308 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of Templates: time 0.0104/0.05087, allocations: 9.183 MB / 0.8398 GB, free: 5.223 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.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: 4.915355383884162]