Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002422/0.002422, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002048/0.002048, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.476/3.476, allocations: 429.5 MB / 0.6729 GB, free: 3.98 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0.7656 kB / 0.8774 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.064e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.007453/0.007483, allocations: 3.138 MB / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005103/0.01259, allocations: 1.953 MB / 0.8824 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.01278, allocations: 7.938 kB / 0.8824 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.01415, allocations: 293.7 kB / 0.8827 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.01495, allocations: 198.9 kB / 0.8829 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.01596, allocations: 255.6 kB / 0.8831 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006134/0.01657, allocations: 336.4 kB / 0.8834 GB, free: 376 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.01699, allocations: 145.1 kB / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.01744, allocations: 195.5 kB / 0.8838 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.01787, allocations: 136.1 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.01793, allocations: 25.56 kB / 0.8839 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.01891, allocations: 387 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.01908, allocations: 91.73 kB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.01924, allocations: 79.83 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.02034, allocations: 0.5186 MB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.02034, allocations: 0 / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02034, allocations: 1.344 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.02035, allocations: 4 kB / 0.885 GB, free: 14.8 MB / 0.8542 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.001319/0.02167, allocations: 0.6138 MB / 0.8856 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.02172, allocations: 8.031 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.02305, allocations: 164.5 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.02355, allocations: 212.2 kB / 0.8859 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.02358, allocations: 12.88 kB / 0.8859 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.02364, allocations: 24.36 kB / 0.886 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.02438, allocations: 318.1 kB / 0.8863 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.0244, allocations: 192 / 0.8863 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.02444, allocations: 8.375 kB / 0.8863 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.081e-05/0.02451, allocations: 32.41 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.02503, allocations: 149.8 kB / 0.8864 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.02811, allocations: 1.453 MB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.02869, allocations: 166 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.02886, allocations: 62.59 kB / 0.8881 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.02897, allocations: 11.98 kB / 0.8881 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.02902, allocations: 41.33 kB / 0.8881 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.02902, allocations: 0 / 0.8881 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.002194/0.03121, allocations: 0.5735 MB / 0.8887 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.03127, allocations: 81.11 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.03157, allocations: 283.6 kB / 0.889 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.0316, allocations: 33.7 kB / 0.8891 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.03177, allocations: 227.2 kB / 0.8893 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.03187, allocations: 87.28 kB / 0.8894 GB, free: 10 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.032, allocations: 75.34 kB / 0.8894 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000285/0.03229, allocations: 0.5157 MB / 0.89 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.03243, allocations: 59.97 kB / 0.89 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.03268, allocations: 193.8 kB / 0.8902 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.03311, allocations: 266 kB / 0.8904 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.03311, allocations: 0 / 0.8904 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007926/0.0339, allocations: 359.8 kB / 0.8908 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.03392, allocations: 8 kB / 0.8908 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.03393, allocations: 4 kB / 0.8908 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.0346, allocations: 143 kB / 0.8909 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.03488, allocations: 55.91 kB / 0.891 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/0.03912, allocations: 5.15 MB / 0.896 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.03933, allocations: 15.98 kB / 0.896 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.03936, allocations: 16 kB / 0.8961 GB, free: 2.703 MB / 0.8542 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.0002007/0.03957, allocations: 180.6 kB / 0.8962 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.03965, allocations: 31.91 kB / 0.8963 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.04046, allocations: 306 kB / 0.8965 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.04047, allocations: 4 kB / 0.8965 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.04047, allocations: 0 / 0.8965 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.04048, allocations: 3.984 kB / 0.8966 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.04208, allocations: 0.7939 MB / 0.8973 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.04209, allocations: 4 kB / 0.8973 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.04223, allocations: 39.91 kB / 0.8974 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/0.04281, allocations: 134.9 kB / 0.8975 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.04283, allocations: 11.94 kB / 0.8975 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.04694, allocations: 5.142 MB / 0.9025 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.04694, allocations: 4 kB / 0.9025 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.04784, allocations: 0.6168 MB / 0.9031 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.04798, allocations: 47.83 kB / 0.9032 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.04802, allocations: 8 kB / 0.9032 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.04824, allocations: 19.97 kB / 0.9032 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.0483, allocations: 27.91 kB / 0.9032 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.04833, allocations: 15.94 kB / 0.9033 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001897/0.04852, allocations: 196.1 kB / 0.9034 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.04852, allocations: 0 / 0.9034 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005383/0.04906, allocations: 91.92 kB / 0.9035 GB, free: 10.53 MB / 0.8698 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.0002564/0.04932, allocations: 147 kB / 0.9037 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.05034, allocations: 0.5741 MB / 0.9042 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.05035, allocations: 0 / 0.9042 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006399/0.05099, allocations: 467.1 kB / 0.9047 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.05151, allocations: 58.09 kB / 0.9047 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.05266, allocations: 0.5764 MB / 0.9053 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.05288, allocations: 173 kB / 0.9055 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.05304, allocations: 50.23 kB / 0.9055 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.0531, allocations: 20.5 kB / 0.9055 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.0531, allocations: 0 / 0.9055 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of Templates: time 0.01011/0.06321, allocations: 4.232 MB / 0.9097 GB, free: 4.129 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.596516194054857]