Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",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.001472/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.63/2.63, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 65.67 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2594, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005653/0.2651, allocations: 4.348 MB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2676, allocations: 1.854 MB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2677, allocations: 11.94 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.2692, allocations: 0.609 MB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.2696, allocations: 254.6 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.2701, allocations: 256.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.2707, allocations: 0.6034 MB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.2713, allocations: 479 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.2715, allocations: 243.2 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.2719, allocations: 271 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.272, allocations: 40 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.2724, allocations: 251.4 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2725, allocations: 151.6 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.2728, allocations: 215 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.2734, allocations: 0.5997 MB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2734, allocations: 4 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2734, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2734, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001057/0.2745, allocations: 0.7291 MB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2745, allocations: 8.031 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/0.2746, allocations: 74.7 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.2754, allocations: 148.2 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.2759, allocations: 334.5 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2759, allocations: 21.38 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.2759, allocations: 32.38 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.2767, allocations: 0.5394 MB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2767, allocations: 0 / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.2767, allocations: 15.98 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.2768, allocations: 40.62 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.2774, allocations: 386.3 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.2798, allocations: 2.396 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.2802, allocations: 270.5 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2804, allocations: 108.8 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2804, allocations: 7.938 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2804, allocations: 34.56 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.2804, allocations: 0 / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001999/0.2825, allocations: 1.132 MB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.2825, allocations: 55.34 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.2828, allocations: 304.4 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2828, allocations: 33.7 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.283, allocations: 227.6 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.2831, allocations: 86.8 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.2832, allocations: 61.97 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2833, allocations: 338.8 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2835, allocations: 104.6 kB / 1.081 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.2837, allocations: 187.7 kB / 1.081 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.2841, allocations: 317.3 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2841, allocations: 7.984 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007107/0.2848, allocations: 446.5 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2848, allocations: 8 kB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2849, allocations: 0 / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.2852, allocations: 98.67 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2854, allocations: 67.91 kB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.2887, allocations: 4.395 MB / 1.087 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.2889, allocations: 8 kB / 1.087 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.289, allocations: 16 kB / 1.087 GB, free: 6.047 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.2892, allocations: 181.7 kB / 1.087 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.2892, allocations: 35.56 kB / 1.087 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.2893, allocations: 38.31 kB / 1.087 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2893, allocations: 8.062 kB / 1.087 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2893, allocations: 0 / 1.087 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2893, allocations: 0 / 1.087 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.2898, allocations: 397.4 kB / 1.087 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2898, allocations: 3.938 kB / 1.087 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.29, allocations: 31.98 kB / 1.087 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.2903, allocations: 102.4 kB / 1.087 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2903, allocations: 0 / 1.087 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.2935, allocations: 4.384 MB / 1.092 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2935, allocations: 3.938 kB / 1.092 GB, free: 400 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.2943, allocations: 0.5587 MB / 1.092 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2944, allocations: 128.7 kB / 1.092 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.2945, allocations: 12.12 kB / 1.092 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.2947, allocations: 4 kB / 1.092 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.2947, allocations: 19.97 kB / 1.092 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2947, allocations: 8 kB / 1.092 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002005/0.2949, allocations: 218.9 kB / 1.093 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2949, allocations: 0 / 1.093 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003835/0.2953, allocations: 100 kB / 1.093 GB, free: 15.31 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.2964, allocations: 1.103 MB / 1.094 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008223/0.2972, allocations: 0.617 MB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2972, allocations: 0.75 kB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.2977, allocations: 483.7 kB / 1.095 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2982, allocations: 70.98 kB / 1.095 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.3021, allocations: 3.391 MB / 1.098 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3026, allocations: 0.835 MB / 1.099 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.3028, allocations: 62.92 kB / 1.099 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3029, allocations: 107.4 kB / 1.099 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3029, allocations: 0 / 1.099 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.452/2.755, allocations: 7.637 MB / 1.107 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/19.45, allocations: 18.86 kB / 1.107 GB, free: 0.8359 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches