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.0009915/0.0009915, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001135/0.001135, allocations: 166 kB / 24.86 MB, free: 8.883 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 0.9834/0.9834, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.761/1.761, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.649e-05, allocations: 3.562 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004384/0.004411, allocations: 2.616 MB / 0.7908 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.007098, allocations: 1.543 MB / 0.7923 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.007273, allocations: 7.938 kB / 0.7923 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.007949, allocations: 140.4 kB / 0.7925 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.008374, allocations: 165.1 kB / 0.7926 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.008984, allocations: 248 kB / 0.7929 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.009379, allocations: 342.7 kB / 0.7932 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.009677, allocations: 150.2 kB / 0.7933 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.009985, allocations: 187.6 kB / 0.7935 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.0103, allocations: 141 kB / 0.7937 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.01034, allocations: 20 kB / 0.7937 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.01086, allocations: 315.2 kB / 0.794 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.01096, allocations: 98.62 kB / 0.7941 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.01105, allocations: 83.83 kB / 0.7942 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.01161, allocations: 378.8 kB / 0.7945 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01162, allocations: 0 / 0.7945 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01162, allocations: 4 kB / 0.7945 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.01162, allocations: 0 / 0.7945 GB, free: 5.875 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.000741/0.01236, allocations: 0.5776 MB / 0.7951 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.0124, allocations: 12.75 kB / 0.7951 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.01314, allocations: 146.2 kB / 0.7952 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.01344, allocations: 209.3 kB / 0.7954 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01346, allocations: 16.81 kB / 0.7955 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.01349, allocations: 16.38 kB / 0.7955 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.01385, allocations: 283.6 kB / 0.7957 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01386, allocations: 192 / 0.7957 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.01389, allocations: 8.359 kB / 0.7957 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.01393, allocations: 32.42 kB / 0.7958 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.01414, allocations: 97.09 kB / 0.7959 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01572, allocations: 1.369 MB / 0.7972 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.01602, allocations: 160 kB / 0.7974 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.0161, allocations: 43.3 kB / 0.7974 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.01617, allocations: 16.27 kB / 0.7974 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.01619, allocations: 37.92 kB / 0.7975 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.0162, allocations: 1.375 kB / 0.7975 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001441/0.01764, allocations: 483.1 kB / 0.7979 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.01767, allocations: 81.11 kB / 0.798 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01785, allocations: 251.2 kB / 0.7982 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.01787, allocations: 25.7 kB / 0.7983 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01798, allocations: 223.2 kB / 0.7985 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.01805, allocations: 88.06 kB / 0.7986 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01815, allocations: 71.28 kB / 0.7986 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01829, allocations: 0.5048 MB / 0.7991 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.01838, allocations: 39.97 kB / 0.7991 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.01852, allocations: 158.5 kB / 0.7993 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.01877, allocations: 221.6 kB / 0.7995 GB, free: 400 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01878, allocations: 0 / 0.7995 GB, free: 400 kB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000587/0.01936, allocations: 313.7 kB / 0.7998 GB, free: 68 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.01938, allocations: 4 kB / 0.7998 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01939, allocations: 7.938 kB / 0.7998 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/0.01994, allocations: 134 kB / 0.8 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.02014, allocations: 48.64 kB / 0.8 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.02277, allocations: 5.039 MB / 0.8049 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.02296, allocations: 16.88 kB / 0.8049 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.02298, allocations: 8 kB / 0.8049 GB, free: 10.52 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.0001479/0.02313, allocations: 174.7 kB / 0.8051 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.02321, allocations: 27.86 kB / 0.8051 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005619/0.02377, allocations: 289.7 kB / 0.8054 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.02377, allocations: 4.5 kB / 0.8054 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02378, allocations: 1.25 kB / 0.8054 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.02378, allocations: 3.984 kB / 0.8054 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.02485, allocations: 0.6697 MB / 0.8061 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.02486, allocations: 8 kB / 0.8061 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.02497, allocations: 32.42 kB / 0.8061 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.0254, allocations: 124.3 kB / 0.8062 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.02542, allocations: 8 kB / 0.8062 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.02785, allocations: 5.05 MB / 0.8112 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.02785, allocations: 3.938 kB / 0.8112 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.02846, allocations: 0.5734 MB / 0.8117 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.02856, allocations: 43.81 kB / 0.8118 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.02859, allocations: 8 kB / 0.8118 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.02879, allocations: 15.98 kB / 0.8118 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.02884, allocations: 27.84 kB / 0.8118 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.02886, allocations: 8 kB / 0.8118 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001059/0.02896, allocations: 172.1 kB / 0.812 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.02896, allocations: 0 / 0.812 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000568/0.02953, allocations: 95.92 kB / 0.8121 GB, free: 2.707 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.0002437/0.02977, allocations: 153.9 kB / 0.8122 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.03048, allocations: 0.5158 MB / 0.8127 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.03048, allocations: 0 / 0.8127 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.03089, allocations: 444 kB / 0.8132 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.03142, allocations: 45.97 kB / 0.8132 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.03274, allocations: 0.5577 MB / 0.8138 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.03284, allocations: 112.3 kB / 0.8139 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.03296, allocations: 30.28 kB / 0.8139 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.0331, allocations: 110.2 kB / 0.814 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of SimCode: time 9.52e-07/0.0331, allocations: 0 / 0.814 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of Templates: time 0.01015/0.04325, allocations: 4.577 MB / 0.8185 GB, free: 12.07 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] 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","",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.1953124003484845]