Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001754/0.001754, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002109/0.002109, allocations: 204 kB / 20.09 MB, free: 2.977 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.028/3.028, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266/1.268, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003694/1.272, allocations: 2.689 MB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001949/1.274, allocations: 1.362 MB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/1.274, allocations: 9.875 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006687/1.274, allocations: 183.8 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/1.275, allocations: 169.2 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/1.275, allocations: 162.4 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/1.275, allocations: 277.8 kB / 1.327 GB, free: 21.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/1.276, allocations: 115 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/1.276, allocations: 121.2 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/1.276, allocations: 141.1 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/1.276, allocations: 19.44 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/1.276, allocations: 154.8 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/1.277, allocations: 70.59 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/1.277, allocations: 94.86 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/1.277, allocations: 304.1 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.277, allocations: 0 / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.525e-06/1.277, allocations: 0.875 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.277, allocations: 0 / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000817/1.278, allocations: 0.4959 MB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.278, allocations: 12.58 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/1.278, allocations: 74.61 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/1.279, allocations: 243 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.279, allocations: 11.12 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/1.279, allocations: 13.25 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/1.279, allocations: 317.1 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.279, allocations: 0.7188 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/1.279, allocations: 5.922 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/1.279, allocations: 26.34 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/1.28, allocations: 263.8 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/1.282, allocations: 1.524 MB / 1.331 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/1.282, allocations: 238.6 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/1.282, allocations: 125.1 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/1.282, allocations: 5.641 kB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/1.282, allocations: 33.41 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.282, allocations: 0 / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0008403/1.283, allocations: 346.5 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.283, allocations: 80.33 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.283, allocations: 172.9 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/1.283, allocations: 30.77 kB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/1.284, allocations: 140.9 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/1.284, allocations: 54.95 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/1.284, allocations: 47.78 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/1.284, allocations: 331.6 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/1.284, allocations: 115.5 kB / 1.332 GB, free: 18.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/1.284, allocations: 169.7 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/1.285, allocations: 293.5 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.285, allocations: 1.125 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006053/1.285, allocations: 320.5 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.285, allocations: 6.375 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.285, allocations: 9.547 kB / 1.333 GB, free: 17.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/1.285, allocations: 3.391 kB / 1.333 GB, free: 17.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/1.286, allocations: 60.72 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.286, allocations: 3.906 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/1.286, allocations: 33.61 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/1.286, allocations: 11.75 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002814/1.286, allocations: 204.1 kB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002318/1.286, allocations: 166.9 kB / 1.333 GB, free: 17.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004314/1.287, allocations: 257.4 kB / 1.334 GB, free: 17.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/1.287, allocations: 1.125 kB / 1.334 GB, free: 17.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005608/1.287, allocations: 283.6 kB / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.287, allocations: 11.31 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.288, allocations: 1.312 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/1.288, allocations: 3.531 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/1.288, allocations: 52.58 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.288, allocations: 3.203 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/1.288, allocations: 29.02 kB / 1.334 GB, free: 17.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.288, allocations: 6.844 kB / 1.334 GB, free: 17.13 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.288, allocations: 198.1 kB / 1.334 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/1.288, allocations: 20.78 kB / 1.334 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/1.289, allocations: 273.8 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.289, allocations: 2.5 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.289, allocations: 1.375 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.289, allocations: 1.266 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/1.29, allocations: 0.685 MB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.29, allocations: 1.75 kB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/1.29, allocations: 47.22 kB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.29, allocations: 2.578 kB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.29, allocations: 6.75 kB / 1.335 GB, free: 16.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.29, allocations: 2.766 kB / 1.335 GB, free: 16.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.29, allocations: 5.594 kB / 1.335 GB, free: 16.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/1.291, allocations: 446.9 kB / 1.336 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/1.291, allocations: 117.5 kB / 1.336 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/1.291, allocations: 11.52 kB / 1.336 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/1.291, allocations: 20.73 kB / 1.336 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/1.291, allocations: 14.02 kB / 1.336 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.291, allocations: 4.969 kB / 1.336 GB, free: 15.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001463/1.292, allocations: 134.8 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.292, allocations: 0 / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005901/1.292, allocations: 91.39 kB / 1.336 GB, free: 15.77 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/1.292, allocations: 106.4 kB / 1.336 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000799/1.293, allocations: 359.3 kB / 1.336 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.293, allocations: 4.125 kB / 1.336 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/1.293, allocations: 112.7 kB / 1.337 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/1.294, allocations: 52.33 kB / 1.337 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/1.295, allocations: 484.1 kB / 1.337 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/1.295, allocations: 0.745 MB / 1.338 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/1.295, allocations: 19.22 kB / 1.338 GB, free: 14.5 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.295, allocations: 0 / 1.338 GB, free: 14.5 MB / 1.061 GB Notification: Performance of Templates: time 0.006005/1.301, allocations: 2.629 MB / 1.34 GB, free: 14.29 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: 12.842738816005294]