Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_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.0009576/0.0009576, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007041/0.007041, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 8.938 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004132/0.2578, allocations: 4.006 MB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.2601, allocations: 1.839 MB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2603, allocations: 7.938 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.2605, allocations: 75.41 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.261, allocations: 250.9 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.2614, allocations: 227.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.2621, allocations: 0.8452 MB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.2626, allocations: 435.4 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.2628, allocations: 203.2 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.2631, allocations: 251 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.2632, allocations: 20 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.2636, allocations: 307.3 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2637, allocations: 135.6 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.2639, allocations: 220.7 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.2644, allocations: 0.5997 MB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2644, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2644, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2644, allocations: 0 / 1.068 GB, free: 11.4 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.0009368/0.2654, allocations: 0.6513 MB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2654, allocations: 11.97 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.765e-05/0.2655, allocations: 82.7 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.2664, allocations: 152.2 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.2668, allocations: 326.5 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2668, allocations: 29.36 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.2669, allocations: 32.38 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.2676, allocations: 0.5393 MB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2676, allocations: 0 / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2676, allocations: 12 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.2677, allocations: 36.62 kB / 1.07 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.2683, allocations: 386.3 kB / 1.07 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.2704, allocations: 2.419 MB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.2709, allocations: 258.5 kB / 1.073 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.271, allocations: 116.8 kB / 1.073 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2711, allocations: 0 / 1.073 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2711, allocations: 38.56 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 9.92e-07/0.2711, allocations: 0 / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001953/0.2731, allocations: 1.126 MB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2731, allocations: 55.41 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2734, allocations: 304.3 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2734, allocations: 33.7 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2735, allocations: 227.6 kB / 1.075 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.2736, allocations: 82.84 kB / 1.075 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.2736, allocations: 29.7 kB / 1.075 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.2737, allocations: 342.8 kB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2739, allocations: 104.6 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2741, allocations: 195.7 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.2744, allocations: 324.1 kB / 1.076 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2745, allocations: 0 / 1.076 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007114/0.2752, allocations: 445.8 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2752, allocations: 4 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2752, allocations: 4 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.2755, allocations: 98.69 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.2758, allocations: 59.91 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.2784, allocations: 4.072 MB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2786, allocations: 8 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2786, allocations: 20.28 kB / 1.08 GB, free: 13.82 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.0001615/0.2788, allocations: 181.7 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.2789, allocations: 35.61 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.2789, allocations: 38.31 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2789, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.279, allocations: 4 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.279, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.2793, allocations: 405.3 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2794, allocations: 0 / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2795, allocations: 31.97 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.2798, allocations: 102.4 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2798, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.2824, allocations: 4.072 MB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2824, allocations: 0 / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.2831, allocations: 0.5589 MB / 1.085 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2832, allocations: 132.7 kB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2833, allocations: 0 / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2835, allocations: 12 kB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.2835, allocations: 27.97 kB / 1.086 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2835, allocations: 7.938 kB / 1.086 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001791/0.2837, allocations: 215.1 kB / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2837, allocations: 0 / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004115/0.2841, allocations: 96 kB / 1.086 GB, free: 7.426 MB / 0.8419 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.0009377/0.2851, allocations: 1.102 MB / 1.087 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.2858, allocations: 0.6044 MB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2858, allocations: 0 / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.2863, allocations: 476.2 kB / 1.088 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.2868, allocations: 66.58 kB / 1.088 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.2905, allocations: 3.571 MB / 1.092 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.2908, allocations: 0.8424 MB / 1.092 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.291, allocations: 62.92 kB / 1.092 GB, free: 428 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.2912, allocations: 111.4 kB / 1.093 GB, free: 316 kB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.2912, allocations: 0 / 1.093 GB, free: 316 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6742/0.9653, allocations: 7.25 MB / 1.1 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.9657, allocations: 220.6 kB / 1.1 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.613, allocations: 0 / 1.1 GB, free: 8.992 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches