Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001653/0.001653, allocations: 111.1 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.00177/0.00177, allocations: 205 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.681/1.681, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.179/3.179, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002079/0.002079, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004555/1.207, allocations: 3.131 MB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00312/1.21, allocations: 2.008 MB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/1.21, allocations: 5.344 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009533/1.211, allocations: 281.6 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005413/1.212, allocations: 201 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/1.212, allocations: 252.6 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004977/1.213, allocations: 324.2 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/1.213, allocations: 145.3 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/1.214, allocations: 137.1 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/1.214, allocations: 156.6 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/1.214, allocations: 24.03 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008826/1.215, allocations: 429.2 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/1.215, allocations: 88.8 kB / 1.329 GB, free: 20.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/1.215, allocations: 118.3 kB / 1.329 GB, free: 20.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008735/1.216, allocations: 0.4894 MB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.216, allocations: 0.6562 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/1.216, allocations: 0 / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.868e-06/1.216, allocations: 1.219 kB / 1.329 GB, free: 20.36 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001057/1.217, allocations: 0.566 MB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.217, allocations: 12.86 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/1.218, allocations: 115.4 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/1.218, allocations: 272.8 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/1.218, allocations: 12.06 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/1.218, allocations: 24.62 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/1.219, allocations: 359.5 kB / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.219, allocations: 1.125 kB / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/1.219, allocations: 6.219 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/1.219, allocations: 26.31 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/1.22, allocations: 290.2 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/1.222, allocations: 1.743 MB / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/1.223, allocations: 314.8 kB / 1.333 GB, free: 17.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/1.223, allocations: 99.53 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.223, allocations: 102.8 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.223, allocations: 38.05 kB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/1.223, allocations: 0 / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002845/1.226, allocations: 0.9562 MB / 1.334 GB, free: 16.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.226, allocations: 87.89 kB / 1.334 GB, free: 16.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/1.226, allocations: 220.1 kB / 1.335 GB, free: 16.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/1.226, allocations: 27.67 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/1.226, allocations: 175 kB / 1.335 GB, free: 16.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/1.226, allocations: 80.75 kB / 1.335 GB, free: 16.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.226, allocations: 64.69 kB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/1.226, allocations: 334.2 kB / 1.335 GB, free: 16.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/1.227, allocations: 132 kB / 1.335 GB, free: 16.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/1.227, allocations: 208.4 kB / 1.336 GB, free: 15.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/1.228, allocations: 368.7 kB / 1.336 GB, free: 15.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.228, allocations: 1.516 kB / 1.336 GB, free: 15.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001169/1.229, allocations: 0.51 MB / 1.336 GB, free: 15.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.229, allocations: 5.531 kB / 1.336 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.229, allocations: 3.031 kB / 1.336 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/1.229, allocations: 162.1 kB / 1.337 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/1.23, allocations: 61.47 kB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/1.232, allocations: 4.184 MB / 1.341 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.233, allocations: 18.84 kB / 1.341 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/1.233, allocations: 14.89 kB / 1.341 GB, free: 11.37 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002086/1.233, allocations: 169.7 kB / 1.341 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/1.233, allocations: 18.05 kB / 1.341 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/1.234, allocations: 488.6 kB / 1.341 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.234, allocations: 3.609 kB / 1.341 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.234, allocations: 1.625 kB / 1.341 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.234, allocations: 1.406 kB / 1.341 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/1.236, allocations: 0.9993 MB / 1.342 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.236, allocations: 6.562 kB / 1.342 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/1.236, allocations: 34.7 kB / 1.342 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/1.236, allocations: 135.5 kB / 1.343 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/1.236, allocations: 9.172 kB / 1.343 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/1.239, allocations: 4.166 MB / 1.347 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.239, allocations: 2.375 kB / 1.347 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/1.239, allocations: 0.6253 MB / 1.347 GB, free: 5.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.24, allocations: 125.7 kB / 1.347 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/1.24, allocations: 13.55 kB / 1.347 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.24, allocations: 14.62 kB / 1.347 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/1.24, allocations: 25.89 kB / 1.347 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.24, allocations: 13.66 kB / 1.347 GB, free: 5.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001756/1.24, allocations: 163.1 kB / 1.348 GB, free: 5.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.24, allocations: 0 / 1.348 GB, free: 5.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006354/1.241, allocations: 94.44 kB / 1.348 GB, free: 5.543 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/1.241, allocations: 141.8 kB / 1.348 GB, free: 5.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000996/1.242, allocations: 0.5794 MB / 1.348 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.242, allocations: 0 / 1.348 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/1.243, allocations: 397.2 kB / 1.349 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/1.243, allocations: 41.19 kB / 1.349 GB, free: 4.785 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/1.244, allocations: 0.6581 MB / 1.349 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/1.245, allocations: 0.7808 MB / 1.35 GB, free: 3.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/1.245, allocations: 26.23 kB / 1.35 GB, free: 3.633 MB / 1.061 GB Notification: Performance of SimCode: time 9.42e-07/1.245, allocations: 0 / 1.35 GB, free: 3.633 MB / 1.061 GB Notification: Performance of Templates: time 0.01517/1.26, allocations: 7.735 MB / 1.358 GB, free: 2.992 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 14.310130166995805]