Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001446/0.001446, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001609/0.001609, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 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 1.458/1.458, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.707/2.707, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.855e-05/4.083e-05, allocations: 6.172 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.007141/0.007182, allocations: 3.041 MB / 0.7893 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004791/0.01197, allocations: 1.867 MB / 0.7911 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.01218, allocations: 4 kB / 0.7912 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.01343, allocations: 281.7 kB / 0.7914 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000801/0.01423, allocations: 206.8 kB / 0.7916 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.01528, allocations: 264.5 kB / 0.7919 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.01586, allocations: 327.7 kB / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.01628, allocations: 153 kB / 0.7923 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.01671, allocations: 190.9 kB / 0.7925 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.0171, allocations: 135.6 kB / 0.7926 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.01716, allocations: 20 kB / 0.7927 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009073/0.01806, allocations: 387 kB / 0.793 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.01821, allocations: 87.73 kB / 0.7931 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.01837, allocations: 79.83 kB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.01946, allocations: 0.5219 MB / 0.7937 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01946, allocations: 0 / 0.7937 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01947, allocations: 0 / 0.7937 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.01947, allocations: 0.7188 kB / 0.7937 GB, free: 5.309 MB / 0.7448 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.001286/0.02076, allocations: 0.4909 MB / 0.7942 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.0208, allocations: 12.03 kB / 0.7942 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.02217, allocations: 169.4 kB / 0.7943 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.02269, allocations: 212.7 kB / 0.7946 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.02272, allocations: 16.86 kB / 0.7946 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.02278, allocations: 20.38 kB / 0.7946 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.0237, allocations: 402.4 kB / 0.795 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.02372, allocations: 4.188 kB / 0.795 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.02376, allocations: 4.375 kB / 0.795 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-05/0.02383, allocations: 33.83 kB / 0.795 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008852/0.02472, allocations: 289.8 kB / 0.7953 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.02758, allocations: 1.248 MB / 0.7965 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.02825, allocations: 237 kB / 0.7967 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.02848, allocations: 106.2 kB / 0.7968 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-05/0.02858, allocations: 9.531 kB / 0.7968 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.02862, allocations: 38.56 kB / 0.7969 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.02862, allocations: 0 / 0.7969 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002749/0.03137, allocations: 0.8979 MB / 0.7978 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.03145, allocations: 85.05 kB / 0.7978 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.03171, allocations: 213.3 kB / 0.798 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.03175, allocations: 29.7 kB / 0.7981 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.03189, allocations: 176.4 kB / 0.7982 GB, free: 448 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.03198, allocations: 77.64 kB / 0.7983 GB, free: 372 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.0321, allocations: 61.64 kB / 0.7984 GB, free: 304 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.03231, allocations: 338.8 kB / 0.7987 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.03254, allocations: 131.8 kB / 0.7988 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.03284, allocations: 214.2 kB / 0.799 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.0334, allocations: 368.1 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0334, allocations: 0 / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001018/0.03442, allocations: 0.5153 MB / 0.7999 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.03444, allocations: 8 kB / 0.7999 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.03445, allocations: 0 / 0.7999 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.0352, allocations: 187.9 kB / 0.8001 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.03549, allocations: 61.92 kB / 0.8001 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.03964, allocations: 3.938 MB / 0.804 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.03988, allocations: 19.97 kB / 0.804 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.03991, allocations: 19.98 kB / 0.804 GB, free: 10.18 MB / 0.7605 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.0002192/0.04013, allocations: 159.9 kB / 0.8042 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.04023, allocations: 31.89 kB / 0.8042 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.04125, allocations: 474.2 kB / 0.8046 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.04126, allocations: 4.5 kB / 0.8046 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.04126, allocations: 0.9375 kB / 0.8046 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.04127, allocations: 4 kB / 0.8047 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.04298, allocations: 0.8927 MB / 0.8055 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.04298, allocations: 0 / 0.8055 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.04312, allocations: 31.98 kB / 0.8056 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.04375, allocations: 175.5 kB / 0.8057 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.04378, allocations: 12 kB / 0.8057 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003968/0.04774, allocations: 3.907 MB / 0.8095 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.04775, allocations: 4.031 kB / 0.8096 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.0488, allocations: 0.6355 MB / 0.8102 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.04896, allocations: 51.83 kB / 0.8102 GB, free: 3.402 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.04901, allocations: 4 kB / 0.8102 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.04929, allocations: 19.97 kB / 0.8102 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.04936, allocations: 23.97 kB / 0.8103 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.0494, allocations: 15.94 kB / 0.8103 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000203/0.0496, allocations: 143.2 kB / 0.8104 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0496, allocations: 0 / 0.8104 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007479/0.05035, allocations: 99.86 kB / 0.8105 GB, free: 3.102 MB / 0.7605 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.0004006/0.05075, allocations: 151 kB / 0.8107 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.05214, allocations: 0.5596 MB / 0.8112 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.05214, allocations: 0 / 0.8112 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.05283, allocations: 400.9 kB / 0.8116 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.05347, allocations: 34.8 kB / 0.8116 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.05521, allocations: 0.6248 MB / 0.8122 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.0555, allocations: 181 kB / 0.8124 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.05569, allocations: 58.25 kB / 0.8125 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.05577, allocations: 24.48 kB / 0.8125 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of SimCode: time 1.242e-06/0.05577, allocations: 0 / 0.8125 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Templates: time 0.01081/0.06657, allocations: 4.194 MB / 0.8166 GB, free: 12.82 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.915432078996673]