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.0009871/0.0009871, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.000949/0.000949, allocations: 161 kB / 24.17 MB, free: 324 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.9802/0.9802, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.873/1.873, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.774e-06/1.774e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.869e-05, allocations: 7.875 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007402/0.007431, allocations: 7.721 MB / 0.7676 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00787/0.0153, allocations: 5.912 MB / 0.7734 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009183/0.01622, allocations: 84.12 kB / 0.7735 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.01706, allocations: 377.1 kB / 0.7738 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.01973, allocations: 1.418 MB / 0.7752 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/0.0207, allocations: 0.568 MB / 0.7758 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.02364, allocations: 2.367 MB / 0.7781 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.02555, allocations: 1.211 MB / 0.7793 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.02838, allocations: 1.551 MB / 0.7808 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.02998, allocations: 0.8463 MB / 0.7816 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.03029, allocations: 136 kB / 0.7817 GB, free: 372 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.03102, allocations: 295.6 kB / 0.782 GB, free: 76 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006144/0.03163, allocations: 0.5967 MB / 0.7826 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007936/0.03242, allocations: 0.5883 MB / 0.7832 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.03452, allocations: 1.406 MB / 0.7845 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.03452, allocations: 0 / 0.7845 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.03452, allocations: 4.469 kB / 0.7845 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.149e-05/0.03456, allocations: 0 / 0.7845 GB, free: 13.47 MB / 0.7448 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.002623/0.03719, allocations: 1.846 MB / 0.7863 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.03722, allocations: 9.156 kB / 0.7863 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.04167, allocations: 0.7812 MB / 0.7871 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.04363, allocations: 1.047 MB / 0.7881 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.588e-05/0.04371, allocations: 90.69 kB / 0.7882 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.04399, allocations: 125.1 kB / 0.7883 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.0467, allocations: 1.541 MB / 0.7898 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/0.04675, allocations: 15.86 kB / 0.7899 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.04688, allocations: 48 kB / 0.7899 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/0.04711, allocations: 107.2 kB / 0.79 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.04813, allocations: 0.5238 MB / 0.7905 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/0.05442, allocations: 5.297 MB / 0.7957 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.05527, allocations: 399.8 kB / 0.7961 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.0555, allocations: 163 kB / 0.7962 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.05553, allocations: 12.5 kB / 0.7962 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.05556, allocations: 43.06 kB / 0.7963 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 2.955e-06/0.05556, allocations: 0.6562 kB / 0.7963 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54): time 0.003692/0.05925, allocations: 1.828 MB / 0.7981 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.05928, allocations: 59.84 kB / 0.7981 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.05985, allocations: 0.8394 MB / 0.7989 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.05991, allocations: 37.7 kB / 0.799 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.06016, allocations: 0.6033 MB / 0.7996 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.06028, allocations: 194.3 kB / 0.7998 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.06048, allocations: 150.5 kB / 0.7999 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.06056, allocations: 333.9 kB / 0.8002 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.06076, allocations: 149.9 kB / 0.8004 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.06108, allocations: 376.9 kB / 0.8007 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.06163, allocations: 0.573 MB / 0.8013 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.06163, allocations: 7.938 kB / 0.8013 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001097/0.06273, allocations: 0.7975 MB / 0.8021 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.06275, allocations: 11.94 kB / 0.8021 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.06277, allocations: 11.98 kB / 0.8021 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/0.06359, allocations: 342.4 kB / 0.8024 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.06413, allocations: 183.6 kB / 0.8026 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.06753, allocations: 5.445 MB / 0.8079 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.06814, allocations: 47.97 kB / 0.808 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.0682, allocations: 36 kB / 0.808 GB, free: 4.402 MB / 0.7605 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 (73): * Single equations (assignments): 69 * 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%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.06853, allocations: 156.4 kB / 0.8081 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.06867, allocations: 99.83 kB / 0.8082 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.06977, allocations: 0.7462 MB / 0.809 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.06977, allocations: 4 kB / 0.809 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.06977, allocations: 4 kB / 0.809 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.06978, allocations: 3.984 kB / 0.809 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.07171, allocations: 1.411 MB / 0.8104 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.07171, allocations: 4 kB / 0.8104 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.07212, allocations: 115.8 kB / 0.8105 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/0.07287, allocations: 330.4 kB / 0.8108 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.07293, allocations: 23.91 kB / 0.8108 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.07611, allocations: 5.432 MB / 0.8161 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.07611, allocations: 7.938 kB / 0.8161 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.0772, allocations: 0.7868 MB / 0.8169 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.07748, allocations: 219 kB / 0.8171 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.07758, allocations: 8 kB / 0.8171 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.07796, allocations: 35.98 kB / 0.8171 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.07808, allocations: 52.34 kB / 0.8172 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.07812, allocations: 19.97 kB / 0.8172 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003027/0.07842, allocations: 424.6 kB / 0.8176 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.07843, allocations: 0 / 0.8176 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007987/0.07922, allocations: 344 kB / 0.8179 GB, free: 9.648 MB / 0.7761 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 (37): * Single equations (assignments): 33 * 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%), (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.0001674/0.07939, allocations: 108.3 kB / 0.818 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.08069, allocations: 1.076 MB / 0.8191 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/0.0807, allocations: 18.31 kB / 0.8191 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.08144, allocations: 0.8037 MB / 0.8199 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.08246, allocations: 496.7 kB / 0.8204 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.08556, allocations: 2.273 MB / 0.8226 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.0858, allocations: 332.5 kB / 0.8229 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007236/0.08653, allocations: 273.7 kB / 0.8232 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/0.08731, allocations: 399 kB / 0.8235 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of SimCode: time 1.463e-06/0.08731, allocations: 4 kB / 0.8235 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of Templates: time 0.0309/0.1182, allocations: 26.53 MB / 0.8495 GB, free: 9.77 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.382088778074831]