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.001402/0.001402, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001668/0.001668, allocations: 169 kB / 24.06 MB, free: 452 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.95/0.95, allocations: 177.1 MB / 204.5 MB, free: 5.492 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 1.965/1.965, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.523e-06/1.523e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.782e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009221/0.009249, allocations: 7.666 MB / 0.8869 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009183/0.01843, allocations: 5.776 MB / 0.8925 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.02013, allocations: 91.19 kB / 0.8926 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.02148, allocations: 365.1 kB / 0.893 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.02581, allocations: 1.436 MB / 0.8944 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.0273, allocations: 0.5536 MB / 0.8949 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.03083, allocations: 2.371 MB / 0.8972 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.03272, allocations: 1.149 MB / 0.8983 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.0348, allocations: 1.551 MB / 0.8999 GB, free: 1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.036, allocations: 0.8764 MB / 0.9007 GB, free: 124 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.03625, allocations: 136 kB / 0.9008 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.03681, allocations: 295.5 kB / 0.9011 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.03718, allocations: 0.5997 MB / 0.9017 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.03783, allocations: 0.5806 MB / 0.9023 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.03934, allocations: 1.409 MB / 0.9036 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.03935, allocations: 0 / 0.9036 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.03935, allocations: 0 / 0.9036 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.664e-05/0.03941, allocations: 0 / 0.9036 GB, free: 13.1 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.002147/0.04156, allocations: 2.018 MB / 0.9056 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.04159, allocations: 12.03 kB / 0.9056 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.04491, allocations: 0.8423 MB / 0.9065 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.04623, allocations: 1.133 MB / 0.9076 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.04628, allocations: 86.69 kB / 0.9076 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.04643, allocations: 120.3 kB / 0.9078 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.04815, allocations: 1.631 MB / 0.9093 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.04818, allocations: 7.938 kB / 0.9094 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/0.04828, allocations: 47.98 kB / 0.9094 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.04845, allocations: 106.2 kB / 0.9095 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.04924, allocations: 0.6237 MB / 0.9101 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.05478, allocations: 7.339 MB / 0.9173 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.05569, allocations: 412.7 kB / 0.9177 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.05594, allocations: 197 kB / 0.9179 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.05598, allocations: 8.5 kB / 0.9179 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.05601, allocations: 41.89 kB / 0.9179 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 3.517e-06/0.05601, allocations: 0 / 0.9179 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.004878/0.06089, allocations: 2.597 MB / 0.9204 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.06092, allocations: 60.06 kB / 0.9205 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.06156, allocations: 0.9236 MB / 0.9214 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.68e-05/0.06163, allocations: 41.7 kB / 0.9214 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.062, allocations: 0.8154 MB / 0.9222 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.06219, allocations: 297.4 kB / 0.9225 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.06244, allocations: 204.1 kB / 0.9227 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.06257, allocations: 0.5198 MB / 0.9232 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.06288, allocations: 241.8 kB / 0.9235 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.06331, allocations: 0.5634 MB / 0.924 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.06408, allocations: 0.8479 MB / 0.9248 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.06409, allocations: 0 / 0.9248 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002044/0.06613, allocations: 1.438 MB / 0.9262 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.06615, allocations: 8 kB / 0.9262 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.06616, allocations: 12.03 kB / 0.9263 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.06782, allocations: 0.6725 MB / 0.9269 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.06837, allocations: 187.6 kB / 0.9271 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/0.07632, allocations: 15.28 MB / 0.942 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.07721, allocations: 51.97 kB / 0.9421 GB, free: 3.832 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.07728, allocations: 39.97 kB / 0.9421 GB, free: 3.793 MB / 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.0004029/0.07768, allocations: 223.7 kB / 0.9423 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.07791, allocations: 159.4 kB / 0.9425 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.07996, allocations: 1.334 MB / 0.9438 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.07997, allocations: 8 kB / 0.9438 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.07998, allocations: 4 kB / 0.9438 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.07998, allocations: 7.984 kB / 0.9438 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.08326, allocations: 2.276 MB / 0.946 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.08327, allocations: 7.938 kB / 0.946 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.08369, allocations: 119.8 kB / 0.9461 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.08515, allocations: 0.6377 MB / 0.9468 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.08521, allocations: 31.97 kB / 0.9468 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007508/0.09272, allocations: 15.19 MB / 0.9616 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.09272, allocations: 7.938 kB / 0.9616 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.09471, allocations: 1.372 MB / 0.963 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.09508, allocations: 262.9 kB / 0.9632 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.09519, allocations: 20 kB / 0.9632 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.09566, allocations: 39.98 kB / 0.9633 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.0959, allocations: 88.38 kB / 0.9634 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.09595, allocations: 35.97 kB / 0.9634 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003976/0.09635, allocations: 0.5327 MB / 0.9639 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.09635, allocations: 0 / 0.9639 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001122/0.09747, allocations: 435.9 kB / 0.9643 GB, free: 11.8 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.0002047/0.09768, allocations: 123.1 kB / 0.9645 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.09978, allocations: 2.362 MB / 0.9668 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.09978, allocations: 0.5625 kB / 0.9668 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.1011, allocations: 1.975 MB / 0.9687 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.1023, allocations: 0.4926 MB / 0.9692 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.1055, allocations: 2.563 MB / 0.9717 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1058, allocations: 391.3 kB / 0.972 GB, free: 3.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007643/0.1066, allocations: 278.6 kB / 0.9723 GB, free: 3.238 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/0.1073, allocations: 473.8 kB / 0.9728 GB, free: 2.773 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/0.1073, allocations: 0 / 0.9728 GB, free: 2.773 MB / 0.9323 GB Notification: Performance of Templates: time 0.03537/0.1426, allocations: 33.68 MB / 1.006 GB, free: 1.777 MB / 0.9636 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.815557416994125]