Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009717/0.0009717, 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.0009521/0.0009521, 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.9125/0.9125, 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.689/1.689, 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.946e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004994/0.005014, allocations: 6.166 MB / 0.7931 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.007867, allocations: 3.223 MB / 0.7963 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.008057, allocations: 39.62 kB / 0.7963 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.009203, allocations: 0.961 MB / 0.7972 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000594/0.009798, allocations: 0.4981 MB / 0.7977 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.01031, allocations: 487.8 kB / 0.7982 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.01099, allocations: 1.127 MB / 0.7993 GB, free: 276 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.01151, allocations: 0.5152 MB / 0.7998 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.01199, allocations: 0.6039 MB / 0.8004 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.01235, allocations: 431.4 kB / 0.8008 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.0124, allocations: 56 kB / 0.8009 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.01279, allocations: 456.4 kB / 0.8013 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.01297, allocations: 315.1 kB / 0.8016 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.01315, allocations: 271.3 kB / 0.8018 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.01379, allocations: 0.8642 MB / 0.8027 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.01379, allocations: 0.9062 kB / 0.8027 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.01379, allocations: 4 kB / 0.8027 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.0138, allocations: 0 / 0.8027 GB, free: 12.79 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009217/0.01472, allocations: 1.094 MB / 0.8038 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01476, allocations: 8.562 kB / 0.8038 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/0.01573, allocations: 341 kB / 0.8041 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.01627, allocations: 0.5457 MB / 0.8046 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.01634, allocations: 49.11 kB / 0.8047 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.01641, allocations: 68.36 kB / 0.8047 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.01712, allocations: 0.8976 MB / 0.8056 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.01714, allocations: 12.08 kB / 0.8056 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.01718, allocations: 32.11 kB / 0.8057 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.01725, allocations: 73.27 kB / 0.8057 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.01767, allocations: 333.4 kB / 0.806 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.02022, allocations: 5.635 MB / 0.8115 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.02066, allocations: 252 kB / 0.8118 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.02103, allocations: 253 kB / 0.812 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.02105, allocations: 9.062 kB / 0.812 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.02107, allocations: 41.39 kB / 0.8121 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.02107, allocations: 1.062 kB / 0.8121 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001905/0.02298, allocations: 1.144 MB / 0.8132 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.023, allocations: 55.41 kB / 0.8132 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.02328, allocations: 474.4 kB / 0.8137 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.0233, allocations: 33.7 kB / 0.8137 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.02346, allocations: 442.7 kB / 0.8142 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.02354, allocations: 154.7 kB / 0.8143 GB, free: 396 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.02364, allocations: 115.9 kB / 0.8144 GB, free: 272 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.02377, allocations: 0.5313 MB / 0.8149 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.0239, allocations: 101.2 kB / 0.815 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.02416, allocations: 412.7 kB / 0.8154 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.02459, allocations: 0.5563 MB / 0.816 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02459, allocations: 4 kB / 0.816 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008335/0.02542, allocations: 0.7176 MB / 0.8167 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.02544, allocations: 8 kB / 0.8167 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02545, allocations: 8 kB / 0.8167 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.02604, allocations: 271.1 kB / 0.8169 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.02621, allocations: 99.81 kB / 0.817 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.02976, allocations: 7.708 MB / 0.8246 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.02992, allocations: 31.97 kB / 0.8246 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.02995, allocations: 31.94 kB / 0.8246 GB, free: 4.996 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.03008, allocations: 196.4 kB / 0.8248 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.03014, allocations: 67.77 kB / 0.8249 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.03093, allocations: 0.5671 MB / 0.8254 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.03093, allocations: 4 kB / 0.8254 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.03093, allocations: 4 kB / 0.8254 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.03094, allocations: 7.922 kB / 0.8255 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.03209, allocations: 1.141 MB / 0.8266 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.0321, allocations: 0 / 0.8266 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.03218, allocations: 39.97 kB / 0.8266 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.03268, allocations: 262.8 kB / 0.8269 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.0327, allocations: 8 kB / 0.8269 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/0.03616, allocations: 7.713 MB / 0.8344 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.03616, allocations: 0 / 0.8344 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.0369, allocations: 0.7389 MB / 0.8351 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.037, allocations: 99.45 kB / 0.8352 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.03704, allocations: 11.94 kB / 0.8352 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.03717, allocations: 27.97 kB / 0.8352 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.03724, allocations: 47.61 kB / 0.8353 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.03725, allocations: 12 kB / 0.8353 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001655/0.03742, allocations: 290.8 kB / 0.8356 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.03742, allocations: 0 / 0.8356 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004468/0.03786, allocations: 200 kB / 0.8358 GB, free: 8.895 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.03798, allocations: 111.2 kB / 0.8359 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009082/0.03889, allocations: 1.141 MB / 0.837 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.03889, allocations: 0 / 0.837 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.03945, allocations: 0.9448 MB / 0.8379 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.04, allocations: 194.7 kB / 0.8381 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.04136, allocations: 1.167 MB / 0.8392 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.04154, allocations: 206.2 kB / 0.8394 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.04168, allocations: 81 kB / 0.8395 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.04174, allocations: 36.5 kB / 0.8395 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of SimCode: time 1.152e-06/0.04174, allocations: 0 / 0.8395 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of Templates: time 0.0112/0.05293, allocations: 10.53 MB / 0.8498 GB, free: 10.49 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.90944203408435]