Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 193.7 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4907, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004085/0.4948, allocations: 3.12 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.4974, allocations: 1.941 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.4975, allocations: 7.938 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.4983, allocations: 267.1 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.4987, allocations: 171.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.4992, allocations: 216.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.4996, allocations: 446.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.4999, allocations: 167.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.5001, allocations: 115.6 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.5004, allocations: 155.4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.5004, allocations: 12 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.501, allocations: 475.1 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.5011, allocations: 79.72 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5012, allocations: 115.4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.5017, allocations: 0.4985 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5017, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5017, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5017, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 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.0006959/0.5024, allocations: 0.5536 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.5024, allocations: 12.03 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.5025, allocations: 58.73 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007103/0.5032, allocations: 112.5 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.5035, allocations: 263.7 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5035, allocations: 16.81 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.5035, allocations: 20.38 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.504, allocations: 357.1 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.504, allocations: 0 / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.5041, allocations: 8 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.5041, allocations: 24.42 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.5045, allocations: 293.5 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.5063, allocations: 1.741 MB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.5067, allocations: 326.1 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.5068, allocations: 101.7 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.101e-05/0.5069, allocations: 93.03 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.507, allocations: 34.56 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.507, allocations: 0 / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002123/0.5091, allocations: 0.9565 MB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5092, allocations: 93.06 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.5093, allocations: 215.6 kB / 1.029 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.5094, allocations: 29.7 kB / 1.029 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.5094, allocations: 164.2 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.5095, allocations: 86.75 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.5096, allocations: 61.69 kB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.5097, allocations: 326.8 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.5099, allocations: 131.9 kB / 1.03 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.5101, allocations: 214.2 kB / 1.03 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.5105, allocations: 367.3 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5105, allocations: 12 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007565/0.5113, allocations: 0.5112 MB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5113, allocations: 4.312 kB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5113, allocations: 8 kB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/0.5118, allocations: 147.3 kB / 1.031 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.512, allocations: 55.91 kB / 1.031 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.5144, allocations: 3.973 MB / 1.035 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.5146, allocations: 19.98 kB / 1.035 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.5146, allocations: 16 kB / 1.035 GB, free: 14.81 MB / 0.795 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.0001378/0.5148, allocations: 162.3 kB / 1.035 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.5148, allocations: 27.81 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007501/0.5156, allocations: 470.5 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5156, allocations: 3.984 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5156, allocations: 8 kB / 1.036 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5156, allocations: 3.938 kB / 1.036 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.517, allocations: 1.001 MB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.517, allocations: 4 kB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5171, allocations: 35.97 kB / 1.037 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.5175, allocations: 155.5 kB / 1.037 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.5175, allocations: 8 kB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.5198, allocations: 3.938 MB / 1.041 GB, free: 8.562 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5198, allocations: 7.969 kB / 1.041 GB, free: 8.555 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.5205, allocations: 0.6273 MB / 1.042 GB, free: 7.875 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5206, allocations: 128.7 kB / 1.042 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.5206, allocations: 4 kB / 1.042 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.5208, allocations: 19.98 kB / 1.042 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.5209, allocations: 27.91 kB / 1.042 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.5209, allocations: 16 kB / 1.042 GB, free: 7.664 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001204/0.521, allocations: 156.2 kB / 1.042 GB, free: 7.512 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5211, allocations: 0 / 1.042 GB, free: 7.512 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004404/0.5215, allocations: 91.98 kB / 1.042 GB, free: 7.422 MB / 0.795 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.0009626/0.5225, allocations: 1.2 MB / 1.043 GB, free: 6.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007739/0.5233, allocations: 0.5775 MB / 1.044 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5233, allocations: 0 / 1.044 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.5237, allocations: 411.3 kB / 1.044 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.5242, allocations: 48.86 kB / 1.044 GB, free: 5.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.5277, allocations: 3.41 MB / 1.048 GB, free: 1.473 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.528, allocations: 0.7869 MB / 1.048 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.5281, allocations: 58.25 kB / 1.048 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.5282, allocations: 71.41 kB / 1.048 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of SimCode: time 1.483e-06/0.5283, allocations: 7.938 kB / 1.048 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5043/1.033, allocations: 6.352 MB / 1.055 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/1.033, allocations: 238.7 kB / 1.055 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.854, allocations: 0 / 1.055 GB, free: 10.07 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches