Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0009079/0.0009079, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001436/0.001436, allocations: 177 kB / 23.36 MB, free: 1.129 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.947/0.947, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.318/2.318, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.822e-05, allocations: 9.344 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01035/0.01038, allocations: 7.663 MB / 0.8461 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008188/0.01857, allocations: 5.907 MB / 0.8518 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.01966, allocations: 87.19 kB / 0.8519 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009222/0.02058, allocations: 381.1 kB / 0.8523 GB, free: 160 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.02343, allocations: 1.428 MB / 0.8537 GB, free: 14.72 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.02445, allocations: 0.5653 MB / 0.8542 GB, free: 14.16 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.02683, allocations: 2.367 MB / 0.8565 GB, free: 11.78 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.02828, allocations: 1.207 MB / 0.8577 GB, free: 10.54 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.03041, allocations: 1.555 MB / 0.8592 GB, free: 8.977 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.03166, allocations: 0.857 MB / 0.8601 GB, free: 8.117 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.03192, allocations: 132 kB / 0.8602 GB, free: 7.988 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.03249, allocations: 287.7 kB / 0.8605 GB, free: 7.707 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004377/0.03293, allocations: 0.5919 MB / 0.8611 GB, free: 7.113 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.03357, allocations: 0.5883 MB / 0.8616 GB, free: 6.523 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.03508, allocations: 1.405 MB / 0.863 GB, free: 5.113 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.03508, allocations: 0 / 0.863 GB, free: 5.113 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.302e-06/0.03509, allocations: 3.938 kB / 0.863 GB, free: 5.109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.723e-05/0.03514, allocations: 0 / 0.863 GB, free: 5.109 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002043/0.03719, allocations: 1.849 MB / 0.8648 GB, free: 3.227 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.03722, allocations: 12.62 kB / 0.8648 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.0401, allocations: 0.7886 MB / 0.8656 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.04146, allocations: 1.045 MB / 0.8666 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.04151, allocations: 90.69 kB / 0.8667 GB, free: 1.238 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.04167, allocations: 120.3 kB / 0.8668 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.04332, allocations: 1.53 MB / 0.8683 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.04335, allocations: 19.86 kB / 0.8683 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.04345, allocations: 48 kB / 0.8684 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.0436, allocations: 110.2 kB / 0.8685 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.04433, allocations: 0.5185 MB / 0.869 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/0.04931, allocations: 5.301 MB / 0.8742 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.05011, allocations: 407.9 kB / 0.8746 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.05034, allocations: 168.5 kB / 0.8747 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.05037, allocations: 8.5 kB / 0.8747 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.05039, allocations: 39.06 kB / 0.8748 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.05039, allocations: 0 / 0.8748 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.003577/0.05397, allocations: 1.821 MB / 0.8765 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.054, allocations: 67.83 kB / 0.8766 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.05457, allocations: 0.8317 MB / 0.8774 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.05462, allocations: 37.7 kB / 0.8774 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.05489, allocations: 0.615 MB / 0.878 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.05503, allocations: 194.2 kB / 0.8782 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.05522, allocations: 150.5 kB / 0.8784 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.0553, allocations: 337.9 kB / 0.8787 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.05551, allocations: 145.9 kB / 0.8788 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.05582, allocations: 369 kB / 0.8792 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.05635, allocations: 0.5769 MB / 0.8798 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.05636, allocations: 3.938 kB / 0.8798 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001102/0.05746, allocations: 0.8092 MB / 0.8805 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.05748, allocations: 11.94 kB / 0.8806 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.05749, allocations: 8 kB / 0.8806 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/0.05831, allocations: 342.4 kB / 0.8809 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.05878, allocations: 163.7 kB / 0.8811 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.06199, allocations: 5.432 MB / 0.8864 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.0625, allocations: 47.97 kB / 0.8864 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.06255, allocations: 31.97 kB / 0.8864 GB, free: 11.93 MB / 0.8542 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 (73): * Single equations (assignments): 69 * 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 {(2,2,100.0%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.06286, allocations: 156.4 kB / 0.8866 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.063, allocations: 99.83 kB / 0.8867 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.06405, allocations: 0.7463 MB / 0.8874 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.06406, allocations: 7.984 kB / 0.8874 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.06406, allocations: 4 kB / 0.8874 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.06406, allocations: 0 / 0.8874 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.066, allocations: 1.423 MB / 0.8888 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.06601, allocations: 4 kB / 0.8888 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.06635, allocations: 95.83 kB / 0.8889 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007442/0.0671, allocations: 330.8 kB / 0.8892 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.06715, allocations: 27.91 kB / 0.8892 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.07024, allocations: 5.423 MB / 0.8945 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.07024, allocations: 4.125 kB / 0.8945 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.07129, allocations: 0.7945 MB / 0.8953 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.07159, allocations: 203.1 kB / 0.8955 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.07169, allocations: 8 kB / 0.8955 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.07207, allocations: 35.97 kB / 0.8956 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.07219, allocations: 56.34 kB / 0.8956 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.07223, allocations: 23.91 kB / 0.8956 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003344/0.07257, allocations: 420.6 kB / 0.896 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.07257, allocations: 0 / 0.896 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000849/0.07342, allocations: 348 kB / 0.8964 GB, free: 1.199 MB / 0.8542 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 (37): * Single equations (assignments): 33 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0001857/0.0736, allocations: 100.3 kB / 0.8965 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.07479, allocations: 1.085 MB / 0.8975 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/0.07481, allocations: 16.5 kB / 0.8975 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.07556, allocations: 0.8039 MB / 0.8983 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.07657, allocations: 493.5 kB / 0.8988 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.07958, allocations: 2.268 MB / 0.901 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.07985, allocations: 336.5 kB / 0.9013 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007131/0.08056, allocations: 289.7 kB / 0.9016 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/0.08129, allocations: 399 kB / 0.902 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/0.08129, allocations: 0 / 0.902 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.03058/0.1119, allocations: 26.51 MB / 0.9279 GB, free: 1.316 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.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.5384869845584035]