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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 115.1 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00205/0.00205, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.144, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005098/1.149, allocations: 3.077 MB / 1.266 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003224/1.152, allocations: 1.935 MB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/1.152, allocations: 7.969 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009718/1.153, allocations: 279.2 kB / 1.268 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005382/1.154, allocations: 198.1 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/1.155, allocations: 250 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/1.155, allocations: 321.3 kB / 1.268 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/1.155, allocations: 183.8 kB / 1.269 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/1.156, allocations: 132.4 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/1.156, allocations: 148.2 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/1.156, allocations: 23.84 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/1.157, allocations: 402.1 kB / 1.269 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/1.157, allocations: 93.91 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/1.157, allocations: 118.4 kB / 1.269 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007696/1.158, allocations: 490.1 kB / 1.27 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.158, allocations: 1.125 kB / 1.27 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.158, allocations: 0 / 1.27 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.158, allocations: 0 / 1.27 GB, free: 3.465 MB / 0.9981 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.000868/1.159, allocations: 0.5666 MB / 1.271 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/1.159, allocations: 8.719 kB / 1.271 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/1.16, allocations: 114 kB / 1.271 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/1.16, allocations: 265.2 kB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.16, allocations: 20.83 kB / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/1.16, allocations: 16.66 kB / 1.271 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/1.161, allocations: 355.6 kB / 1.271 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.161, allocations: 4.641 kB / 1.271 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/1.161, allocations: 7.312 kB / 1.271 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/1.161, allocations: 25.28 kB / 1.271 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/1.161, allocations: 291.2 kB / 1.272 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/1.163, allocations: 1.739 MB / 1.273 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/1.164, allocations: 324.9 kB / 1.274 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.164, allocations: 102.3 kB / 1.274 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.449e-05/1.164, allocations: 95.17 kB / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.164, allocations: 43.33 kB / 1.274 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/1.164, allocations: 0 / 1.274 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002544/1.167, allocations: 0.9673 MB / 1.275 GB, free: 76 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.167, allocations: 90.27 kB / 1.275 GB, free: 15.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/1.167, allocations: 218.8 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/1.167, allocations: 26.95 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/1.167, allocations: 174.2 kB / 1.275 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/1.167, allocations: 85.09 kB / 1.275 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.167, allocations: 66.08 kB / 1.275 GB, free: 15.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.167, allocations: 333.1 kB / 1.276 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/1.168, allocations: 127.7 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/1.168, allocations: 208.7 kB / 1.276 GB, free: 15.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/1.169, allocations: 366 kB / 1.276 GB, free: 14.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.169, allocations: 3.938 kB / 1.276 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009575/1.169, allocations: 0.51 MB / 1.277 GB, free: 14.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.17, allocations: 5.938 kB / 1.277 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.17, allocations: 2.156 kB / 1.277 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/1.17, allocations: 146.5 kB / 1.277 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/1.17, allocations: 61.8 kB / 1.277 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/1.174, allocations: 4.192 MB / 1.281 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/1.174, allocations: 17.5 kB / 1.281 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.174, allocations: 15.52 kB / 1.281 GB, free: 10.47 MB / 1.014 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.0002291/1.175, allocations: 165.9 kB / 1.281 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/1.175, allocations: 22.55 kB / 1.281 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009661/1.176, allocations: 471.7 kB / 1.282 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.176, allocations: 7.125 kB / 1.282 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.176, allocations: 1.25 kB / 1.282 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.176, allocations: 1.547 kB / 1.282 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/1.177, allocations: 1.014 MB / 1.283 GB, free: 9.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.177, allocations: 2.5 kB / 1.283 GB, free: 9.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/1.178, allocations: 43.11 kB / 1.283 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/1.178, allocations: 133.5 kB / 1.283 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/1.178, allocations: 8.328 kB / 1.283 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003611/1.182, allocations: 4.163 MB / 1.287 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.182, allocations: 6.219 kB / 1.287 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/1.183, allocations: 0.6297 MB / 1.288 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.183, allocations: 121.9 kB / 1.288 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/1.183, allocations: 16.92 kB / 1.288 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/1.183, allocations: 18.38 kB / 1.288 GB, free: 4.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/1.183, allocations: 25.94 kB / 1.288 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/1.183, allocations: 8 kB / 1.288 GB, free: 4.758 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001846/1.183, allocations: 165.1 kB / 1.288 GB, free: 4.652 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.206e-06/1.183, allocations: 0 / 1.288 GB, free: 4.652 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005865/1.184, allocations: 92.34 kB / 1.288 GB, free: 4.637 MB / 1.014 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.0002433/1.184, allocations: 132 kB / 1.288 GB, free: 4.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001094/1.185, allocations: 0.5826 MB / 1.289 GB, free: 4.184 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.185, allocations: 1.562 kB / 1.289 GB, free: 4.184 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/1.186, allocations: 408.1 kB / 1.289 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/1.187, allocations: 38.61 kB / 1.289 GB, free: 3.887 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/1.188, allocations: 0.6628 MB / 1.29 GB, free: 3.453 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/1.188, allocations: 0.782 MB / 1.291 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/1.188, allocations: 22.88 kB / 1.291 GB, free: 2.734 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.188, allocations: 0.7188 kB / 1.291 GB, free: 2.734 MB / 1.014 GB Notification: Performance of Templates: time 0.0133/1.202, allocations: 7.646 MB / 1.298 GB, free: 2.098 MB / 1.014 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.553666790015996]