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.002397/0.002397, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002892/0.002892, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.836/2.836, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 1.433e-06/1.433e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.703e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005578/0.005605, allocations: 3.142 MB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.009451, allocations: 1.944 MB / 0.7913 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.009582, allocations: 7.938 kB / 0.7913 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.01059, allocations: 290.8 kB / 0.7916 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.01109, allocations: 199.8 kB / 0.7918 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006832/0.01178, allocations: 260.8 kB / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.01221, allocations: 326.8 kB / 0.7923 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.01255, allocations: 149.1 kB / 0.7925 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.01287, allocations: 193 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.01318, allocations: 143.6 kB / 0.7928 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.01323, allocations: 20 kB / 0.7928 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.0139, allocations: 386.9 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01403, allocations: 97.27 kB / 0.7933 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.01415, allocations: 79.83 kB / 0.7934 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.01517, allocations: 0.5219 MB / 0.7939 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01517, allocations: 0 / 0.7939 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01517, allocations: 1.531 kB / 0.7939 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.01518, allocations: 0 / 0.7939 GB, free: 5.129 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.001001/0.01618, allocations: 0.6089 MB / 0.7945 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.01622, allocations: 12.03 kB / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.01714, allocations: 166.5 kB / 0.7946 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.01755, allocations: 214.5 kB / 0.7948 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.01757, allocations: 16.86 kB / 0.7949 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.01762, allocations: 21.09 kB / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.01816, allocations: 314.1 kB / 0.7952 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01818, allocations: 9.625 kB / 0.7952 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.0182, allocations: 4.375 kB / 0.7952 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.924e-05/0.01827, allocations: 32.42 kB / 0.7952 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.01865, allocations: 146.5 kB / 0.7954 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.02103, allocations: 1.453 MB / 0.7968 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.02146, allocations: 162.1 kB / 0.7969 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.02158, allocations: 55.66 kB / 0.797 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/0.02167, allocations: 15.98 kB / 0.797 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.02171, allocations: 50.19 kB / 0.7971 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.02171, allocations: 0 / 0.7971 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002001/0.02371, allocations: 0.5728 MB / 0.7976 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.02378, allocations: 83.7 kB / 0.7977 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.02409, allocations: 281.8 kB / 0.798 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.02414, allocations: 29.7 kB / 0.798 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.02431, allocations: 227.2 kB / 0.7982 GB, free: 436 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.0244, allocations: 87.27 kB / 0.7983 GB, free: 348 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.02454, allocations: 79.3 kB / 0.7984 GB, free: 260 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003211/0.02486, allocations: 0.5157 MB / 0.7989 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.02501, allocations: 65.52 kB / 0.7989 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.02528, allocations: 189.3 kB / 0.7991 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.02571, allocations: 258.1 kB / 0.7994 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.02571, allocations: 4 kB / 0.7994 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007992/0.02651, allocations: 367.1 kB / 0.7997 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.02653, allocations: 4 kB / 0.7997 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02653, allocations: 4 kB / 0.7997 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/0.0272, allocations: 132.8 kB / 0.7999 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.02746, allocations: 61.03 kB / 0.7999 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.03204, allocations: 5.147 MB / 0.8049 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.03225, allocations: 24.03 kB / 0.805 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.03227, allocations: 12 kB / 0.805 GB, free: 9.066 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.0002019/0.03247, allocations: 180.5 kB / 0.8051 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.03256, allocations: 27.86 kB / 0.8052 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.0334, allocations: 318 kB / 0.8055 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.03341, allocations: 4 kB / 0.8055 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.03341, allocations: 0 / 0.8055 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.03342, allocations: 15.92 kB / 0.8055 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.03503, allocations: 0.7917 MB / 0.8063 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.03503, allocations: 4.031 kB / 0.8063 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.03517, allocations: 35.92 kB / 0.8063 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.0357, allocations: 138.6 kB / 0.8064 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.03573, allocations: 8 kB / 0.8064 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.0401, allocations: 5.147 MB / 0.8115 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.0401, allocations: 0 / 0.8115 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.04101, allocations: 0.61 MB / 0.8121 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.04115, allocations: 47.83 kB / 0.8121 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.04119, allocations: 11.94 kB / 0.8121 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.04141, allocations: 24.11 kB / 0.8121 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.04148, allocations: 27.89 kB / 0.8122 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.04151, allocations: 11.94 kB / 0.8122 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001987/0.04171, allocations: 194.9 kB / 0.8124 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.04171, allocations: 0 / 0.8124 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005838/0.04229, allocations: 91.94 kB / 0.8125 GB, free: 0.8789 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.00029/0.04258, allocations: 147 kB / 0.8126 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.04365, allocations: 0.5786 MB / 0.8132 GB, free: 112 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.04365, allocations: 0 / 0.8132 GB, free: 112 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.04428, allocations: 470.1 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.04478, allocations: 39.97 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.04593, allocations: 0.5771 MB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.04615, allocations: 173 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.04631, allocations: 50.25 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.04637, allocations: 28.44 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.04637, allocations: 0 / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.01034/0.05672, allocations: 4.226 MB / 0.8186 GB, free: 10.5 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","/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: 8.094446691917256]