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.0009771/0.0009771, 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.001013/0.001013, allocations: 169 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.9296/0.9296, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.057/2.057, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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 2.024e-06/2.024e-06, allocations: 0 / 0.8782 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.394e-05, allocations: 8.156 kB / 0.8782 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01084/0.01087, allocations: 7.825 MB / 0.8858 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007681/0.01855, allocations: 5.882 MB / 0.8916 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.02006, allocations: 83.25 kB / 0.8916 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.02136, allocations: 373.1 kB / 0.892 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.0248, allocations: 1.403 MB / 0.8934 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.02588, allocations: 0.5614 MB / 0.8939 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.02836, allocations: 2.368 MB / 0.8962 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.02977, allocations: 1.152 MB / 0.8974 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.03166, allocations: 1.532 MB / 0.8988 GB, free: 15.95 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.03276, allocations: 0.8686 MB / 0.8997 GB, free: 15.08 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.03295, allocations: 136 kB / 0.8998 GB, free: 14.95 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.03349, allocations: 291.6 kB / 0.9001 GB, free: 14.66 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004306/0.03392, allocations: 0.6075 MB / 0.9007 GB, free: 14.05 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.0345, allocations: 0.5961 MB / 0.9013 GB, free: 13.45 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.03615, allocations: 1.417 MB / 0.9027 GB, free: 12.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.03616, allocations: 3.984 kB / 0.9027 GB, free: 12.03 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.243e-06/0.03616, allocations: 0 / 0.9027 GB, free: 12.03 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.03618, allocations: 4 kB / 0.9027 GB, free: 12.02 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.001914/0.03809, allocations: 2.006 MB / 0.9046 GB, free: 9.973 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.03813, allocations: 12.02 kB / 0.9046 GB, free: 9.961 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/0.04246, allocations: 1.719 MB / 0.9063 GB, free: 8.238 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.04378, allocations: 1.167 MB / 0.9075 GB, free: 7.023 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.04383, allocations: 86.64 kB / 0.9075 GB, free: 6.938 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.04399, allocations: 128.2 kB / 0.9077 GB, free: 6.812 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.0461, allocations: 1.868 MB / 0.9095 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.04613, allocations: 11.88 kB / 0.9095 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/0.04622, allocations: 55.98 kB / 0.9096 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003597/0.04658, allocations: 126.1 kB / 0.9097 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.04767, allocations: 0.7583 MB / 0.9104 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/0.05405, allocations: 7.953 MB / 0.9182 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.0553, allocations: 0.6228 MB / 0.9188 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.05566, allocations: 237.1 kB / 0.919 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.0557, allocations: 8.5 kB / 0.919 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.05573, allocations: 45.89 kB / 0.9191 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 3.256e-06/0.05573, allocations: 3.938 kB / 0.9191 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.005821/0.06155, allocations: 3.099 MB / 0.9221 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.0616, allocations: 64.06 kB / 0.9222 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.06245, allocations: 0.9436 MB / 0.9231 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.06252, allocations: 37.7 kB / 0.9231 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.06297, allocations: 0.8156 MB / 0.9239 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.06319, allocations: 289.5 kB / 0.9242 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.06348, allocations: 200.2 kB / 0.9244 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.06365, allocations: 0.5199 MB / 0.9249 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.06412, allocations: 317.8 kB / 0.9252 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.06476, allocations: 0.6377 MB / 0.9258 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.06588, allocations: 0.9536 MB / 0.9267 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.06589, allocations: 8 kB / 0.9268 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002544/0.06843, allocations: 1.594 MB / 0.9283 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.06846, allocations: 8 kB / 0.9283 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.06848, allocations: 12.09 kB / 0.9283 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.07055, allocations: 0.7271 MB / 0.929 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.07128, allocations: 307.6 kB / 0.9293 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009117/0.0804, allocations: 15.68 MB / 0.9446 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.08149, allocations: 187.8 kB / 0.9448 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/0.08157, allocations: 51.97 kB / 0.9449 GB, free: 14.82 MB / 0.8698 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.0004074/0.08198, allocations: 212.3 kB / 0.9451 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.08219, allocations: 163.2 kB / 0.9452 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.08445, allocations: 1.439 MB / 0.9466 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.08446, allocations: 8 kB / 0.9466 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.08447, allocations: 11.94 kB / 0.9467 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.08448, allocations: 3.984 kB / 0.9467 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.08811, allocations: 2.638 MB / 0.9492 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.08811, allocations: 4 kB / 0.9492 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.08865, allocations: 239.5 kB / 0.9495 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.0903, allocations: 0.7001 MB / 0.9502 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.09036, allocations: 31.91 kB / 0.9502 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007997/0.09836, allocations: 15.62 MB / 0.9654 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.09836, allocations: 4 kB / 0.9654 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.1007, allocations: 1.489 MB / 0.9669 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.1011, allocations: 291 kB / 0.9672 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.1012, allocations: 16 kB / 0.9672 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.1018, allocations: 183.6 kB / 0.9674 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.102, allocations: 88.44 kB / 0.9674 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.1021, allocations: 39.97 kB / 0.9675 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004906/0.1026, allocations: 0.572 MB / 0.968 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1026, allocations: 0 / 0.968 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001047/0.1036, allocations: 440 kB / 0.9685 GB, free: 5.355 MB / 0.8855 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.0002158/0.1038, allocations: 127.1 kB / 0.9686 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.1065, allocations: 2.503 MB / 0.971 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1065, allocations: 0 / 0.971 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.1081, allocations: 2.046 MB / 0.973 GB, free: 392 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.1096, allocations: 0.5041 MB / 0.9735 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.1137, allocations: 2.812 MB / 0.9763 GB, free: 13 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.114, allocations: 387.3 kB / 0.9766 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001086/0.1151, allocations: 318.5 kB / 0.9769 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.1153, allocations: 104.4 kB / 0.977 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of SimCode: time 2.865e-06/0.1153, allocations: 0 / 0.977 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of Templates: time 0.03612/0.1515, allocations: 31.83 MB / 1.008 GB, free: 12.96 MB / 0.9323 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: 6.239731367211789]