Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001453/0.001453, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001635/0.001635, allocations: 164.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.775/2.775, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.538e-05, allocations: 9.094 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01195/0.01199, allocations: 6.391 MB / 0.9877 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006292/0.01828, allocations: 2.997 MB / 0.9906 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/0.01909, allocations: 35.69 kB / 0.9906 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.02224, allocations: 0.9543 MB / 0.9916 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.02392, allocations: 0.5357 MB / 0.9921 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.02533, allocations: 433.4 kB / 0.9925 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.02736, allocations: 1.267 MB / 0.9937 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.02856, allocations: 0.5256 MB / 0.9943 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.03005, allocations: 0.6663 MB / 0.9949 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.03109, allocations: 470.7 kB / 0.9954 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.0313, allocations: 71.94 kB / 0.9954 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009308/0.03223, allocations: 347.2 kB / 0.9958 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.03273, allocations: 338.9 kB / 0.9961 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.03337, allocations: 319.2 kB / 0.9964 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.03541, allocations: 1.234 MB / 0.9976 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.03541, allocations: 0 / 0.9976 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.03541, allocations: 0 / 0.9976 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.415e-05/0.03546, allocations: 0 / 0.9976 GB, free: 11.38 MB / 0.9512 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.002674/0.03813, allocations: 1.104 MB / 0.9987 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.03818, allocations: 12.03 kB / 0.9987 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.03996, allocations: 252.1 kB / 0.9989 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.04124, allocations: 0.5146 MB / 0.9994 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.04129, allocations: 49.67 kB / 0.9995 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.04144, allocations: 68.36 kB / 0.9995 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.04357, allocations: 1.336 MB / 1.001 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.0436, allocations: 4.141 kB / 1.001 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.0437, allocations: 36.36 kB / 1.001 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.04388, allocations: 93.12 kB / 1.001 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.04538, allocations: 0.7465 MB / 1.002 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006122/0.05151, allocations: 4.511 MB / 1.006 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.05258, allocations: 0.5049 MB / 1.007 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.05303, allocations: 282.2 kB / 1.007 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.05306, allocations: 4.5 kB / 1.007 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.0531, allocations: 39.06 kB / 1.007 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.05311, allocations: 4 kB / 1.007 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004189/0.0573, allocations: 1.678 MB / 1.009 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.05735, allocations: 59.91 kB / 1.009 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.05799, allocations: 0.5105 MB / 1.009 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.05804, allocations: 33.7 kB / 1.009 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.05837, allocations: 427.8 kB / 1.01 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.05853, allocations: 182.5 kB / 1.01 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.05875, allocations: 122.6 kB / 1.01 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.05895, allocations: 366.8 kB / 1.01 GB, free: 14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.05939, allocations: 277.8 kB / 1.01 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.0601, allocations: 492.9 kB / 1.011 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.06132, allocations: 0.8086 MB / 1.012 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.06132, allocations: 0 / 1.012 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002038/0.06336, allocations: 1.074 MB / 1.013 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.06339, allocations: 8 kB / 1.013 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.0634, allocations: 8 kB / 1.013 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009459/0.06435, allocations: 295.8 kB / 1.013 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.06486, allocations: 123.8 kB / 1.013 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/0.07211, allocations: 6.586 MB / 1.02 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.0728, allocations: 44.08 kB / 1.02 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.07287, allocations: 31.94 kB / 1.02 GB, free: 3.645 MB / 0.9669 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.0004135/0.07328, allocations: 249.5 kB / 1.02 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.0734, allocations: 71.58 kB / 1.02 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.07511, allocations: 0.8855 MB / 1.021 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.07512, allocations: 4 kB / 1.021 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.07512, allocations: 4 kB / 1.021 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.07513, allocations: 0 / 1.021 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.07786, allocations: 1.513 MB / 1.022 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.07787, allocations: 8.188 kB / 1.022 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.07815, allocations: 63.89 kB / 1.022 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/0.07896, allocations: 267.2 kB / 1.023 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.07899, allocations: 12 kB / 1.023 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.08628, allocations: 6.579 MB / 1.029 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.08629, allocations: 4.188 kB / 1.029 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.08804, allocations: 0.974 MB / 1.03 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.08833, allocations: 115.6 kB / 1.03 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.08841, allocations: 12 kB / 1.03 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.0888, allocations: 32.11 kB / 1.03 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.08895, allocations: 55.83 kB / 1.03 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.08898, allocations: 12 kB / 1.03 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004384/0.08942, allocations: 334.9 kB / 1.031 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.08942, allocations: 0 / 1.031 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008787/0.0903, allocations: 227.9 kB / 1.031 GB, free: 7.684 MB / 0.9825 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.0001906/0.09049, allocations: 125.7 kB / 1.031 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.09261, allocations: 1.225 MB / 1.032 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.09262, allocations: 4 kB / 1.032 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.09392, allocations: 0.858 MB / 1.033 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.0949, allocations: 193.4 kB / 1.033 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.09727, allocations: 1.346 MB / 1.034 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.09775, allocations: 415.3 kB / 1.035 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000332/0.09808, allocations: 109.5 kB / 1.035 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.0982, allocations: 40.5 kB / 1.035 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.0982, allocations: 0 / 1.035 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of Templates: time 0.02086/0.1191, allocations: 11.28 MB / 1.046 GB, free: 8.18 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.564653798937798]