Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009263/0.0009263, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009407/0.0009407, allocations: 161 kB / 24.17 MB, free: 328 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.9257/0.9257, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.793/1.793, 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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.994e-05, allocations: 5.953 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003775/0.003795, allocations: 4.086 MB / 0.764 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.006365, allocations: 1.575 MB / 0.7655 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.006618, allocations: 39.62 kB / 0.7656 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.007121, allocations: 184.4 kB / 0.7658 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.007662, allocations: 424.5 kB / 0.7662 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.008113, allocations: 353.5 kB / 0.7665 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.008939, allocations: 1.135 MB / 0.7676 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.009453, allocations: 0.5446 MB / 0.7681 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.009964, allocations: 0.6156 MB / 0.7687 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.01038, allocations: 436.6 kB / 0.7692 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.01044, allocations: 56 kB / 0.7692 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01062, allocations: 131.8 kB / 0.7693 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.0108, allocations: 310.2 kB / 0.7696 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.01099, allocations: 271.3 kB / 0.7699 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.0115, allocations: 0.6617 MB / 0.7705 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.0115, allocations: 0 / 0.7705 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.11e-07/0.0115, allocations: 0 / 0.7705 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.01151, allocations: 0 / 0.7705 GB, free: 11.91 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009234/0.01243, allocations: 0.9105 MB / 0.7714 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.01247, allocations: 12.03 kB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.01316, allocations: 264.2 kB / 0.7717 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.01368, allocations: 0.4972 MB / 0.7722 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.01371, allocations: 49.67 kB / 0.7722 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.01378, allocations: 60.36 kB / 0.7723 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.01438, allocations: 0.7777 MB / 0.773 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.01441, allocations: 20.05 kB / 0.7731 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.01445, allocations: 32.36 kB / 0.7731 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.005e-05/0.01451, allocations: 66.16 kB / 0.7731 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.01478, allocations: 257.3 kB / 0.7734 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.01704, allocations: 3.863 MB / 0.7772 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.01733, allocations: 250 kB / 0.7774 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.01761, allocations: 220.4 kB / 0.7776 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.01763, allocations: 4 kB / 0.7776 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.01765, allocations: 38.56 kB / 0.7777 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 1.443e-06/0.01765, allocations: 0.8438 kB / 0.7777 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.00154/0.01919, allocations: 0.8723 MB / 0.7785 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.01922, allocations: 64.31 kB / 0.7786 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.01944, allocations: 411 kB / 0.779 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01947, allocations: 33.7 kB / 0.779 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.01961, allocations: 365.8 kB / 0.7793 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.01968, allocations: 150.7 kB / 0.7795 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.01978, allocations: 106.2 kB / 0.7796 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.01987, allocations: 371.3 kB / 0.7799 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.01994, allocations: 65.92 kB / 0.78 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.02012, allocations: 277.1 kB / 0.7803 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.02044, allocations: 431.4 kB / 0.7807 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02044, allocations: 4 kB / 0.7807 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006739/0.02111, allocations: 0.5593 MB / 0.7812 GB, free: 384 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02113, allocations: 11.94 kB / 0.7812 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.02114, allocations: 8.531 kB / 0.7813 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005012/0.02164, allocations: 238.7 kB / 0.7815 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.02182, allocations: 91.83 kB / 0.7816 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.02497, allocations: 5.403 MB / 0.7868 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.02512, allocations: 16 kB / 0.7869 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.02514, allocations: 22.28 kB / 0.7869 GB, free: 10.2 MB / 0.7448 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.02527, allocations: 152.5 kB / 0.787 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.02533, allocations: 49.02 kB / 0.7871 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.02593, allocations: 472.2 kB / 0.7875 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02593, allocations: 4 kB / 0.7875 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02594, allocations: 4.656 kB / 0.7875 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02594, allocations: 4.797 kB / 0.7875 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/0.0269, allocations: 0.876 MB / 0.7884 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.0269, allocations: 5.312 kB / 0.7884 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.02698, allocations: 35.92 kB / 0.7884 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.02744, allocations: 234.3 kB / 0.7887 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.02747, allocations: 15.98 kB / 0.7887 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.03033, allocations: 5.392 MB / 0.7939 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03033, allocations: 0 / 0.7939 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.03092, allocations: 0.5864 MB / 0.7945 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.03102, allocations: 79.59 kB / 0.7946 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.03105, allocations: 13.94 kB / 0.7946 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.03115, allocations: 8 kB / 0.7946 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.03122, allocations: 51.8 kB / 0.7947 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.03124, allocations: 15.92 kB / 0.7947 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001053/0.03134, allocations: 160.4 kB / 0.7948 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.03134, allocations: 0.9062 kB / 0.7948 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004313/0.03178, allocations: 200 kB / 0.795 GB, free: 1.348 MB / 0.7448 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.000117/0.03189, allocations: 100.6 kB / 0.7951 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.03266, allocations: 0.8521 MB / 0.7959 GB, free: 356 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.03268, allocations: 12.5 kB / 0.796 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.03323, allocations: 0.7 MB / 0.7966 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.0337, allocations: 194.2 kB / 0.7968 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.03506, allocations: 1.158 MB / 0.798 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.03521, allocations: 210.1 kB / 0.7982 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.03535, allocations: 65.03 kB / 0.7982 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.03556, allocations: 165.3 kB / 0.7984 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/0.03556, allocations: 0 / 0.7984 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.01332/0.04888, allocations: 11.08 MB / 0.8092 GB, free: 2.867 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.075655681081116]