Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_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.008565/0.008566, allocations: 106.4 kB / 15.74 MB, free: 6.035 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.001887/0.001887, allocations: 196 kB / 16.67 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 66.05 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2625, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006601/0.2692, allocations: 4.356 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.2724, allocations: 1.866 MB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.2728, allocations: 11.94 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2746, allocations: 0.6012 MB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007447/0.2753, allocations: 258.6 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.2761, allocations: 254.2 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.277, allocations: 0.611 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.2777, allocations: 465.6 kB / 1.096 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.2781, allocations: 251.1 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.2788, allocations: 271 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2789, allocations: 36 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.2794, allocations: 263.4 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2796, allocations: 151.6 kB / 1.097 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.2799, allocations: 211 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.2807, allocations: 0.6122 MB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2807, allocations: 0 / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2807, allocations: 4 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.2807, allocations: 0 / 1.097 GB, free: 7.828 MB / 0.8575 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.001375/0.2821, allocations: 0.7174 MB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2822, allocations: 19.97 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.832e-05/0.2823, allocations: 74.7 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009921/0.2833, allocations: 148.2 kB / 1.098 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.2838, allocations: 342.5 kB / 1.099 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.2839, allocations: 25.36 kB / 1.099 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.2839, allocations: 32.38 kB / 1.099 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.2847, allocations: 0.5316 MB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2847, allocations: 3.938 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.2848, allocations: 16 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.2848, allocations: 36.62 kB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.2854, allocations: 386.3 kB / 1.1 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.2881, allocations: 2.391 MB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.2886, allocations: 270.5 kB / 1.102 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.2888, allocations: 104.8 kB / 1.102 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.2888, allocations: 4 kB / 1.102 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2889, allocations: 34.56 kB / 1.102 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.2889, allocations: 4 kB / 1.102 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.002111/0.291, allocations: 1.125 MB / 1.103 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.291, allocations: 51.41 kB / 1.104 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.2913, allocations: 308.4 kB / 1.104 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2914, allocations: 29.7 kB / 1.104 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2915, allocations: 231.6 kB / 1.104 GB, free: 496 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.2916, allocations: 82.84 kB / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.2917, allocations: 65.94 kB / 1.104 GB, free: 336 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2918, allocations: 338.8 kB / 1.105 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.292, allocations: 104.6 kB / 1.105 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2922, allocations: 195.7 kB / 1.105 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.2926, allocations: 307.5 kB / 1.105 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2926, allocations: 4 kB / 1.105 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007404/0.2934, allocations: 445.7 kB / 1.106 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2934, allocations: 9.562 kB / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2934, allocations: 0 / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.2938, allocations: 98.83 kB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.294, allocations: 67.91 kB / 1.106 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.2971, allocations: 4.395 MB / 1.11 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2973, allocations: 8 kB / 1.11 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2974, allocations: 12 kB / 1.11 GB, free: 9.848 MB / 0.8731 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.0001846/0.2976, allocations: 181.9 kB / 1.11 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.2976, allocations: 39.56 kB / 1.11 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.2977, allocations: 38.31 kB / 1.11 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2977, allocations: 4 kB / 1.11 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2977, allocations: 0 / 1.11 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2977, allocations: 3.938 kB / 1.11 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.2982, allocations: 397.4 kB / 1.111 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2982, allocations: 7.938 kB / 1.111 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.2984, allocations: 39.91 kB / 1.111 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.2987, allocations: 86.5 kB / 1.111 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2987, allocations: 8 kB / 1.111 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.3016, allocations: 4.379 MB / 1.115 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3016, allocations: 3.938 kB / 1.115 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.3023, allocations: 0.5576 MB / 1.116 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3025, allocations: 132.9 kB / 1.116 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.3025, allocations: 4 kB / 1.116 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3027, allocations: 8 kB / 1.116 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3028, allocations: 19.97 kB / 1.116 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3028, allocations: 4 kB / 1.116 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001942/0.303, allocations: 219 kB / 1.116 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.303, allocations: 0 / 1.116 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004421/0.3035, allocations: 96 kB / 1.116 GB, free: 3.113 MB / 0.8731 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.001054/0.3045, allocations: 1.107 MB / 1.117 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008631/0.3054, allocations: 0.5979 MB / 1.118 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3054, allocations: 0 / 1.118 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.3059, allocations: 478.7 kB / 1.118 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3064, allocations: 79.91 kB / 1.118 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.3106, allocations: 3.366 MB / 1.122 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.311, allocations: 0.835 MB / 1.122 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.3112, allocations: 54.94 kB / 1.122 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3114, allocations: 111.4 kB / 1.123 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of SimCode: time 4.1e-07/0.3114, allocations: 0 / 1.123 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.3469, allocations: 7.902 MB / 1.13 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.736/10.08, allocations: 1.375 kB / 1.13 GB, free: 4.445 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches