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.001062/0.001062, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001414/0.001414, allocations: 161 kB / 23.82 MB, free: 0.75 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.9637/0.9637, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.815/1.815, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.302e-06/1.302e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.593e-05, allocations: 5.547 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006329/0.006345, allocations: 7.821 MB / 0.8192 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.0126, allocations: 5.876 MB / 0.8249 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.01305, allocations: 83.25 kB / 0.825 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.01381, allocations: 374.5 kB / 0.8253 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.01552, allocations: 1.419 MB / 0.8267 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.01618, allocations: 0.5497 MB / 0.8273 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.01768, allocations: 2.372 MB / 0.8296 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009953/0.01867, allocations: 1.152 MB / 0.8307 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.0199, allocations: 1.528 MB / 0.8322 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.02065, allocations: 0.8803 MB / 0.8331 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.02078, allocations: 136 kB / 0.8332 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.02116, allocations: 291.6 kB / 0.8335 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.02153, allocations: 0.6075 MB / 0.8341 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.02196, allocations: 0.5961 MB / 0.8346 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.02304, allocations: 1.413 MB / 0.836 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.02304, allocations: 0 / 0.836 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.353e-06/0.02304, allocations: 0 / 0.836 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.02306, allocations: 0 / 0.836 GB, free: 8.594 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.001809/0.02486, allocations: 2.018 MB / 0.838 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.0249, allocations: 12.03 kB / 0.838 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.02951, allocations: 1.723 MB / 0.8397 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.03116, allocations: 1.167 MB / 0.8408 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.03122, allocations: 86.69 kB / 0.8409 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.03143, allocations: 124.3 kB / 0.841 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.03413, allocations: 1.857 MB / 0.8428 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.03417, allocations: 15.83 kB / 0.8429 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.0343, allocations: 55.98 kB / 0.8429 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002571/0.03455, allocations: 130.1 kB / 0.843 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.03601, allocations: 0.7583 MB / 0.8438 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007611/0.04363, allocations: 7.957 MB / 0.8516 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.04515, allocations: 0.6279 MB / 0.8522 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.04559, allocations: 229.1 kB / 0.8524 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.04563, allocations: 12.5 kB / 0.8524 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.04566, allocations: 41.89 kB / 0.8524 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.04566, allocations: 0 / 0.8524 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of matching and sorting (n=81): time 0.006747/0.05241, allocations: 3.095 MB / 0.8555 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.05244, allocations: 60.06 kB / 0.8555 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009011/0.05334, allocations: 0.9359 MB / 0.8564 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.05341, allocations: 45.64 kB / 0.8565 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/0.05387, allocations: 0.8117 MB / 0.8573 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.05409, allocations: 297.4 kB / 0.8575 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.05442, allocations: 200.2 kB / 0.8577 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.05456, allocations: 0.5199 MB / 0.8582 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.05514, allocations: 313.8 kB / 0.8585 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.05715, allocations: 0.6338 MB / 0.8592 GB, free: 96 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.05861, allocations: 0.9497 MB / 0.8601 GB, free: 15.01 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.05862, allocations: 4 kB / 0.8601 GB, free: 15.01 MB / 0.823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00309/0.06171, allocations: 1.598 MB / 0.8617 GB, free: 13.37 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.06173, allocations: 8.875 kB / 0.8617 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.06174, allocations: 8 kB / 0.8617 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.06414, allocations: 0.7348 MB / 0.8624 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.06506, allocations: 303.5 kB / 0.8627 GB, free: 12.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.07543, allocations: 15.67 MB / 0.878 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.07651, allocations: 183.7 kB / 0.8782 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.07663, allocations: 47.97 kB / 0.8782 GB, free: 11.4 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.0003405/0.07697, allocations: 216.3 kB / 0.8784 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.07725, allocations: 159.2 kB / 0.8786 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.08016, allocations: 1.443 MB / 0.88 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.08016, allocations: 12 kB / 0.88 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.08017, allocations: 7.938 kB / 0.88 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.08018, allocations: 7.984 kB / 0.88 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/0.08457, allocations: 2.642 MB / 0.8826 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.08458, allocations: 8.062 kB / 0.8826 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.0854, allocations: 243.6 kB / 0.8828 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.08784, allocations: 0.6963 MB / 0.8835 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.08792, allocations: 39.89 kB / 0.8835 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009929/0.09785, allocations: 15.62 MB / 0.8988 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.09785, allocations: 4 kB / 0.8988 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.09985, allocations: 1.485 MB / 0.9003 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.1002, allocations: 294.9 kB / 0.9005 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/0.1003, allocations: 16 kB / 0.9005 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.1009, allocations: 187.6 kB / 0.9007 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.101, allocations: 80.45 kB / 0.9008 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.1011, allocations: 43.95 kB / 0.9008 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000447/0.1015, allocations: 0.572 MB / 0.9014 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1015, allocations: 0 / 0.9014 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008543/0.1024, allocations: 444 kB / 0.9018 GB, free: 1.91 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.0001822/0.1026, allocations: 135.1 kB / 0.902 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.1049, allocations: 2.487 MB / 0.9044 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1049, allocations: 4 kB / 0.9044 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.1065, allocations: 2.046 MB / 0.9064 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1076, allocations: 0.4979 MB / 0.9069 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.1112, allocations: 2.827 MB / 0.9096 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1115, allocations: 391.2 kB / 0.91 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006531/0.1121, allocations: 310.6 kB / 0.9103 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.1124, allocations: 104.4 kB / 0.9104 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/0.1124, allocations: 0 / 0.9104 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of Templates: time 0.03138/0.1437, allocations: 31.83 MB / 0.9415 GB, free: 9.539 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.5698330998420715]