Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009686/0.0009686, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001054/0.001054, allocations: 169 kB / 24.06 MB, free: 456 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.9442/0.9442, allocations: 177.1 MB / 204.5 MB, free: 5.496 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 1.977/1.977, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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_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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.527e-05, allocations: 10.02 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003477/0.003492, allocations: 4.072 MB / 0.8834 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.005232, allocations: 1.527 MB / 0.8849 GB, free: 480 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.005424, allocations: 39.62 kB / 0.8849 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.005877, allocations: 190.6 kB / 0.8851 GB, free: 248 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.006328, allocations: 417.4 kB / 0.8855 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.006704, allocations: 359.3 kB / 0.8858 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.007396, allocations: 1.135 MB / 0.8869 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.007885, allocations: 0.51 MB / 0.8874 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.008375, allocations: 0.6117 MB / 0.888 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.00878, allocations: 454.8 kB / 0.8885 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.008836, allocations: 64 kB / 0.8885 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.008992, allocations: 131.8 kB / 0.8887 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.009165, allocations: 307.1 kB / 0.8889 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.009346, allocations: 267.3 kB / 0.8892 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.009818, allocations: 0.6617 MB / 0.8898 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.00982, allocations: 0 / 0.8898 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.51e-07/0.009821, allocations: 0 / 0.8898 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.009827, allocations: 0 / 0.8898 GB, free: 11.35 MB / 0.8542 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.0008919/0.01072, allocations: 1.06 MB / 0.8909 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.01075, allocations: 8.031 kB / 0.8909 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.01142, allocations: 291.7 kB / 0.8912 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.0119, allocations: 0.5095 MB / 0.8917 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.01193, allocations: 53.67 kB / 0.8917 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.01199, allocations: 64.31 kB / 0.8918 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.01256, allocations: 0.855 MB / 0.8926 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.01258, allocations: 12.12 kB / 0.8926 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.01262, allocations: 28.36 kB / 0.8926 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.01268, allocations: 73.2 kB / 0.8927 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.01294, allocations: 276.5 kB / 0.893 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.01535, allocations: 5.506 MB / 0.8984 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.01564, allocations: 227.4 kB / 0.8986 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.01592, allocations: 227.5 kB / 0.8988 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.01595, allocations: 12 kB / 0.8988 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.01597, allocations: 41.39 kB / 0.8988 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 1.363e-06/0.01597, allocations: 0 / 0.8988 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.001569/0.01754, allocations: 0.9649 MB / 0.8998 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.01756, allocations: 63.28 kB / 0.8998 GB, free: 0.6094 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01778, allocations: 466.2 kB / 0.9003 GB, free: 140 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.0178, allocations: 29.7 kB / 0.9003 GB, free: 104 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.01797, allocations: 450.7 kB / 0.9007 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.01805, allocations: 170.6 kB / 0.9009 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.01814, allocations: 115.9 kB / 0.901 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01827, allocations: 0.5351 MB / 0.9015 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.01836, allocations: 77.25 kB / 0.9016 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.01856, allocations: 388.6 kB / 0.902 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.01888, allocations: 0.5025 MB / 0.9025 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01888, allocations: 4 kB / 0.9025 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006985/0.01958, allocations: 0.6635 MB / 0.9031 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.0196, allocations: 8 kB / 0.9031 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.0196, allocations: 12 kB / 0.9032 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/0.02011, allocations: 254.5 kB / 0.9034 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.02026, allocations: 83.91 kB / 0.9035 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.0236, allocations: 7.578 MB / 0.9109 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.02375, allocations: 16.05 kB / 0.9109 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.02377, allocations: 27.98 kB / 0.9109 GB, free: 4.457 MB / 0.8698 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.0001235/0.0239, allocations: 188.4 kB / 0.9111 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.02397, allocations: 79.59 kB / 0.9112 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.02465, allocations: 0.5086 MB / 0.9117 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02465, allocations: 4 kB / 0.9117 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02465, allocations: 4 kB / 0.9117 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.02466, allocations: 7.984 kB / 0.9117 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.02564, allocations: 0.995 MB / 0.9127 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02564, allocations: 4 kB / 0.9127 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.02571, allocations: 28.11 kB / 0.9127 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.02618, allocations: 242.6 kB / 0.9129 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.0262, allocations: 12 kB / 0.9129 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.0294, allocations: 7.571 MB / 0.9203 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0294, allocations: 0 / 0.9203 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.03003, allocations: 0.692 MB / 0.921 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.03014, allocations: 91.45 kB / 0.9211 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.03017, allocations: 8 kB / 0.9211 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.03028, allocations: 12 kB / 0.9211 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.03034, allocations: 43.86 kB / 0.9211 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.03036, allocations: 12 kB / 0.9212 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001276/0.03049, allocations: 278.7 kB / 0.9214 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.03049, allocations: 0 / 0.9214 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000439/0.03093, allocations: 204 kB / 0.9216 GB, free: 8.855 MB / 0.8855 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 9.968e-05/0.03103, allocations: 111.2 kB / 0.9217 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007849/0.03181, allocations: 1.094 MB / 0.9228 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03181, allocations: 0 / 0.9228 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.03234, allocations: 0.9408 MB / 0.9237 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.03287, allocations: 195.4 kB / 0.9239 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.03407, allocations: 1.171 MB / 0.925 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.0342, allocations: 198.2 kB / 0.9252 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.03432, allocations: 65.03 kB / 0.9253 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.03458, allocations: 202.1 kB / 0.9255 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.03458, allocations: 0 / 0.9255 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of Templates: time 0.01188/0.04646, allocations: 11.28 MB / 0.9365 GB, free: 9.598 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.311528893187642]