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.001692/0.001692, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.002126/0.002126, allocations: 173 kB / 23.02 MB, free: 1.547 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.9421/0.9421, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002/2.002, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.763e-06/1.763e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.852e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009707/0.009736, allocations: 7.838 MB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009032/0.01877, allocations: 5.868 MB / 0.8916 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.02001, allocations: 83.25 kB / 0.8916 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.02106, allocations: 377.1 kB / 0.892 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.02432, allocations: 1.424 MB / 0.8934 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.02541, allocations: 0.5497 MB / 0.8939 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002517/0.02793, allocations: 2.375 MB / 0.8962 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.02946, allocations: 1.149 MB / 0.8974 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.03202, allocations: 1.551 MB / 0.8989 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.03332, allocations: 0.8842 MB / 0.8997 GB, free: 140 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.03355, allocations: 132 kB / 0.8999 GB, free: 8 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000651/0.0342, allocations: 291.6 kB / 0.9001 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.03461, allocations: 0.5919 MB / 0.9007 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006012/0.03521, allocations: 0.5883 MB / 0.9013 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.03671, allocations: 1.401 MB / 0.9027 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.03671, allocations: 3.984 kB / 0.9027 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.714e-06/0.03672, allocations: 4 kB / 0.9027 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.496e-05/0.03675, allocations: 0 / 0.9027 GB, free: 13.12 MB / 0.8698 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.002087/0.03884, allocations: 2.018 MB / 0.9046 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.03887, allocations: 8.031 kB / 0.9047 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004362/0.04324, allocations: 1.696 MB / 0.9063 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.04476, allocations: 1.18 MB / 0.9075 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.04481, allocations: 90.69 kB / 0.9076 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.04498, allocations: 120.3 kB / 0.9077 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.04724, allocations: 1.865 MB / 0.9095 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.04727, allocations: 15.88 kB / 0.9095 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.04737, allocations: 44 kB / 0.9095 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.04757, allocations: 130.1 kB / 0.9097 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.0487, allocations: 0.766 MB / 0.9104 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0067/0.0554, allocations: 7.914 MB / 0.9181 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.05658, allocations: 0.6203 MB / 0.9188 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.05691, allocations: 241 kB / 0.919 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.05695, allocations: 8.5 kB / 0.919 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.05699, allocations: 41.89 kB / 0.919 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 3.076e-06/0.05699, allocations: 0 / 0.919 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.005734/0.06272, allocations: 3.025 MB / 0.922 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.06276, allocations: 64.05 kB / 0.922 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.06353, allocations: 0.9321 MB / 0.923 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.0636, allocations: 41.7 kB / 0.923 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.06402, allocations: 0.8156 MB / 0.9238 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.06421, allocations: 297.5 kB / 0.9241 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.06446, allocations: 188.2 kB / 0.9243 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.06459, allocations: 0.5199 MB / 0.9248 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.06502, allocations: 317.8 kB / 0.9251 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.06558, allocations: 0.6377 MB / 0.9257 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.06671, allocations: 0.9535 MB / 0.9266 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.06671, allocations: 4 kB / 0.9266 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002379/0.06909, allocations: 1.598 MB / 0.9282 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.06912, allocations: 12 kB / 0.9282 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.06913, allocations: 4 kB / 0.9282 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.07087, allocations: 0.6962 MB / 0.9289 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.07155, allocations: 311.4 kB / 0.9292 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008833/0.08038, allocations: 15.6 MB / 0.9444 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.08144, allocations: 175.7 kB / 0.9446 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.08154, allocations: 51.95 kB / 0.9446 GB, free: 172 kB / 0.9011 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0004397/0.08198, allocations: 228.2 kB / 0.9448 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.08222, allocations: 159.2 kB / 0.945 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.08452, allocations: 1.435 MB / 0.9464 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.08452, allocations: 8 kB / 0.9464 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.08454, allocations: 11.94 kB / 0.9464 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.08455, allocations: 3.984 kB / 0.9464 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.08895, allocations: 2.637 MB / 0.949 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.08896, allocations: 0 / 0.949 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.08955, allocations: 243.9 kB / 0.9492 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.09126, allocations: 0.661 MB / 0.9499 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.09132, allocations: 31.91 kB / 0.9499 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008381/0.0997, allocations: 15.56 MB / 0.9651 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.09971, allocations: 4 kB / 0.9651 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.102, allocations: 1.481 MB / 0.9665 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.1025, allocations: 291 kB / 0.9668 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.1026, allocations: 12 kB / 0.9668 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.1032, allocations: 187.6 kB / 0.967 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.1034, allocations: 80.45 kB / 0.9671 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.1035, allocations: 39.97 kB / 0.9671 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000516/0.104, allocations: 0.5681 MB / 0.9677 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/0.104, allocations: 4 kB / 0.9677 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001314/0.1053, allocations: 428 kB / 0.9681 GB, free: 6.836 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (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.0002413/0.1056, allocations: 131.1 kB / 0.9682 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.1081, allocations: 2.495 MB / 0.9707 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1082, allocations: 0 / 0.9707 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.1098, allocations: 2.038 MB / 0.9726 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.1112, allocations: 0.4968 MB / 0.9731 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.115, allocations: 2.652 MB / 0.9757 GB, free: 14.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1154, allocations: 391.3 kB / 0.9761 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000836/0.1162, allocations: 302.6 kB / 0.9764 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.1165, allocations: 96.44 kB / 0.9765 GB, free: 13.86 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/0.1165, allocations: 0 / 0.9765 GB, free: 13.86 MB / 0.948 GB Notification: Performance of Templates: time 0.03745/0.1539, allocations: 32.86 MB / 1.009 GB, free: 13.63 MB / 0.9792 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.930736501701176]