Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000901/0.000901, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0008996/0.0008996, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.8872/0.8872, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.787/1.787, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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,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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.478e-05, allocations: 3.156 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006364/0.006379, allocations: 7.827 MB / 0.8192 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005913/0.01229, allocations: 5.872 MB / 0.8249 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.01278, allocations: 93.06 kB / 0.825 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.01351, allocations: 373.1 kB / 0.8254 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.01535, allocations: 1.422 MB / 0.8267 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.01605, allocations: 0.553 MB / 0.8273 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.01771, allocations: 2.368 MB / 0.8296 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.01878, allocations: 1.156 MB / 0.8307 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.02013, allocations: 1.553 MB / 0.8322 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008164/0.02094, allocations: 0.8726 MB / 0.8331 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.02109, allocations: 136 kB / 0.8332 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.02147, allocations: 300.3 kB / 0.8335 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.02181, allocations: 0.5919 MB / 0.8341 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.02223, allocations: 0.5861 MB / 0.8347 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.02327, allocations: 1.413 MB / 0.836 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.02327, allocations: 0 / 0.836 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.31e-07/0.02327, allocations: 0 / 0.836 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.0233, allocations: 0 / 0.836 GB, free: 8.57 MB / 0.7917 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.001739/0.02504, allocations: 2.022 MB / 0.838 GB, free: 6.504 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.02507, allocations: 8.031 kB / 0.838 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.02913, allocations: 1.692 MB / 0.8397 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.03032, allocations: 1.18 MB / 0.8408 GB, free: 3.574 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.03037, allocations: 90.69 kB / 0.8409 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.03051, allocations: 124.3 kB / 0.841 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.03252, allocations: 1.853 MB / 0.8428 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.03255, allocations: 15.83 kB / 0.8429 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.03265, allocations: 55.98 kB / 0.8429 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.03283, allocations: 126.1 kB / 0.843 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.03391, allocations: 0.7622 MB / 0.8438 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/0.03966, allocations: 7.925 MB / 0.8515 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.04081, allocations: 0.6118 MB / 0.8521 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.04113, allocations: 229.1 kB / 0.8523 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.04116, allocations: 8.5 kB / 0.8523 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.04118, allocations: 49.88 kB / 0.8524 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=53): time 2.013e-06/0.04118, allocations: 0 / 0.8524 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=81): time 0.005187/0.04637, allocations: 3.029 MB / 0.8553 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.0464, allocations: 60.06 kB / 0.8554 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.04709, allocations: 0.9359 MB / 0.8563 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.04716, allocations: 41.7 kB / 0.8564 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.04753, allocations: 0.8117 MB / 0.8572 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.04779, allocations: 297.4 kB / 0.8574 GB, free: 2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.04806, allocations: 200.2 kB / 0.8576 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.0482, allocations: 0.5199 MB / 0.8581 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.04864, allocations: 317.8 kB / 0.8584 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.04922, allocations: 0.6299 MB / 0.8591 GB, free: 208 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.05024, allocations: 0.9613 MB / 0.86 GB, free: 15.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.05024, allocations: 0 / 0.86 GB, free: 15.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002327/0.05257, allocations: 1.598 MB / 0.8616 GB, free: 13.47 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.05258, allocations: 10.66 kB / 0.8616 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.05259, allocations: 8 kB / 0.8616 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.05433, allocations: 0.6922 MB / 0.8622 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.05501, allocations: 307.4 kB / 0.8625 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008379/0.06339, allocations: 15.59 MB / 0.8778 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.06406, allocations: 171.9 kB / 0.8779 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.06413, allocations: 51.97 kB / 0.878 GB, free: 11.63 MB / 0.8386 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.000287/0.06442, allocations: 220.3 kB / 0.8782 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.06461, allocations: 163.2 kB / 0.8783 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.06682, allocations: 1.439 MB / 0.8798 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.06683, allocations: 8 kB / 0.8798 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.06683, allocations: 11.94 kB / 0.8798 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.06684, allocations: 3.984 kB / 0.8798 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.07018, allocations: 2.633 MB / 0.8823 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.07018, allocations: 4 kB / 0.8824 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.07071, allocations: 239.5 kB / 0.8826 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.07224, allocations: 0.6577 MB / 0.8832 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.0723, allocations: 35.91 kB / 0.8833 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00749/0.07979, allocations: 15.56 MB / 0.8985 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.0798, allocations: 12 kB / 0.8985 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.08173, allocations: 1.47 MB / 0.8999 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.08203, allocations: 279 kB / 0.9002 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.08213, allocations: 27.92 kB / 0.9002 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.08272, allocations: 179.7 kB / 0.9004 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.08289, allocations: 84.44 kB / 0.9004 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.08294, allocations: 35.97 kB / 0.9005 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000445/0.08339, allocations: 0.5759 MB / 0.901 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.08339, allocations: 0 / 0.901 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000797/0.08418, allocations: 428 kB / 0.9014 GB, free: 2.293 MB / 0.8542 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.0001882/0.08437, allocations: 137 kB / 0.9016 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.08655, allocations: 2.491 MB / 0.904 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.08655, allocations: 4 kB / 0.904 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.08799, allocations: 2.03 MB / 0.906 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.08904, allocations: 0.4962 MB / 0.9065 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.09197, allocations: 2.662 MB / 0.9091 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.09227, allocations: 395.2 kB / 0.9095 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006202/0.09289, allocations: 298.6 kB / 0.9097 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.09312, allocations: 100.4 kB / 0.9098 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/0.09312, allocations: 0 / 0.9098 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of Templates: time 0.03212/0.1252, allocations: 32.86 MB / 0.9419 GB, free: 9.109 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.254985197912902]