Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009999/0.0009999, 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.001033/0.001033, 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.9526/0.9526, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.362/2.362, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.986e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004514/0.004534, allocations: 4.782 MB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.007158, allocations: 1.726 MB / 0.845 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.007447, allocations: 35.69 kB / 0.845 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.008001, allocations: 206.4 kB / 0.8452 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006344/0.008636, allocations: 461 kB / 0.8457 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.009223, allocations: 375.2 kB / 0.846 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.01023, allocations: 1.275 MB / 0.8473 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.01084, allocations: 0.5781 MB / 0.8478 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006714/0.01151, allocations: 0.6703 MB / 0.8485 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.01206, allocations: 478.7 kB / 0.8489 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.01213, allocations: 64 kB / 0.849 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.01238, allocations: 147.7 kB / 0.8491 GB, free: 3.332 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.01259, allocations: 327.1 kB / 0.8494 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.01282, allocations: 311.2 kB / 0.8497 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.01344, allocations: 0.7358 MB / 0.8505 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01344, allocations: 0 / 0.8505 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01344, allocations: 0 / 0.8505 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.01345, allocations: 4 kB / 0.8505 GB, free: 1.965 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001011/0.01446, allocations: 1.02 MB / 0.8515 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01449, allocations: 8.625 kB / 0.8515 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.0153, allocations: 276.3 kB / 0.8517 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.01586, allocations: 0.4951 MB / 0.8522 GB, free: 116 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.01589, allocations: 45.69 kB / 0.8523 GB, free: 72 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.01595, allocations: 64.36 kB / 0.8523 GB, free: 8 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.01664, allocations: 0.9524 MB / 0.8532 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.01667, allocations: 12.11 kB / 0.8533 GB, free: 14.87 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.01671, allocations: 32.36 kB / 0.8533 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-05/0.01681, allocations: 89.19 kB / 0.8534 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.01711, allocations: 260.6 kB / 0.8536 GB, free: 14.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.01972, allocations: 3.922 MB / 0.8575 GB, free: 10.43 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.0201, allocations: 284.3 kB / 0.8577 GB, free: 10.14 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.02021, allocations: 94.33 kB / 0.8578 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.02024, allocations: 8.5 kB / 0.8578 GB, free: 10.04 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.02027, allocations: 43.06 kB / 0.8579 GB, free: 9.988 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.02027, allocations: 4 kB / 0.8579 GB, free: 9.984 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001413/0.02168, allocations: 0.8004 MB / 0.8586 GB, free: 9.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.02171, allocations: 59.91 kB / 0.8587 GB, free: 9.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.02198, allocations: 466.9 kB / 0.8592 GB, free: 8.621 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.02201, allocations: 37.7 kB / 0.8592 GB, free: 8.578 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.02216, allocations: 380.7 kB / 0.8596 GB, free: 8.199 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.02226, allocations: 186.4 kB / 0.8597 GB, free: 8.016 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.02238, allocations: 118.5 kB / 0.8598 GB, free: 7.895 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.02249, allocations: 378.6 kB / 0.8602 GB, free: 7.516 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.02258, allocations: 69.97 kB / 0.8603 GB, free: 7.449 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.02277, allocations: 304.9 kB / 0.8606 GB, free: 7.055 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.02311, allocations: 438.8 kB / 0.861 GB, free: 6.531 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02312, allocations: 0 / 0.861 GB, free: 6.531 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006516/0.02377, allocations: 0.5631 MB / 0.8615 GB, free: 5.941 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.02379, allocations: 11.94 kB / 0.8615 GB, free: 5.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.0238, allocations: 8 kB / 0.8615 GB, free: 5.922 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.02447, allocations: 294.8 kB / 0.8618 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.02473, allocations: 115.8 kB / 0.8619 GB, free: 5.504 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.02781, allocations: 5.313 MB / 0.8671 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.02805, allocations: 23.98 kB / 0.8672 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.02808, allocations: 24 kB / 0.8672 GB, free: 15.75 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 (67): * Single equations (assignments): 63 * 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,6,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.0001593/0.02824, allocations: 148.5 kB / 0.8673 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.02831, allocations: 59.94 kB / 0.8674 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.02885, allocations: 459.3 kB / 0.8678 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.02886, allocations: 7.984 kB / 0.8678 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.02886, allocations: 4 kB / 0.8678 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.02886, allocations: 0 / 0.8678 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009935/0.02986, allocations: 0.8814 MB / 0.8687 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02986, allocations: 4 kB / 0.8687 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.02999, allocations: 47.92 kB / 0.8687 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000605/0.0306, allocations: 286.9 kB / 0.869 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.03062, allocations: 12 kB / 0.869 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.03339, allocations: 5.291 MB / 0.8742 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.03339, allocations: 7.875 kB / 0.8742 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.03395, allocations: 0.5816 MB / 0.8748 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.03407, allocations: 83.69 kB / 0.8748 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.03411, allocations: 11.98 kB / 0.8749 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.03425, allocations: 12 kB / 0.8749 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.03435, allocations: 55.78 kB / 0.8749 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.03437, allocations: 8 kB / 0.8749 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001371/0.0345, allocations: 204.4 kB / 0.8751 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.0345, allocations: 4 kB / 0.8751 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005303/0.03503, allocations: 224 kB / 0.8753 GB, free: 6.84 MB / 0.8386 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 (31): * Single equations (assignments): 27 * 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001153/0.03515, allocations: 88.36 kB / 0.8754 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.03598, allocations: 0.8968 MB / 0.8763 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/0.036, allocations: 12.5 kB / 0.8763 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.03651, allocations: 0.7043 MB / 0.877 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.03703, allocations: 207.4 kB / 0.8772 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.03868, allocations: 1.266 MB / 0.8784 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.03884, allocations: 215.1 kB / 0.8786 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.03906, allocations: 73.48 kB / 0.8787 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.03936, allocations: 209.2 kB / 0.8789 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of SimCode: time 1.302e-06/0.03936, allocations: 0 / 0.8789 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of Templates: time 0.01475/0.05411, allocations: 12.07 MB / 0.8907 GB, free: 7.156 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.431760646868497]