Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_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.000908/0.0009079, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006051/0.006051, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.414/2.414, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 11.94 kB / 0.8729 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5826, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005114/0.5878, allocations: 4 MB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.5907, allocations: 1.846 MB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.5911, allocations: 4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.5914, allocations: 71.42 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.5921, allocations: 250.9 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.5927, allocations: 223.5 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009118/0.5937, allocations: 0.8452 MB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.5943, allocations: 436 kB / 1.031 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.5946, allocations: 195.2 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.5951, allocations: 263 kB / 1.031 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.5952, allocations: 20 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.5957, allocations: 311.3 kB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.5959, allocations: 127.7 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.5961, allocations: 220.6 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007518/0.5969, allocations: 0.6056 MB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5969, allocations: 0 / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5969, allocations: 0 / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.5969, allocations: 0 / 1.032 GB, free: 6.488 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001174/0.5981, allocations: 0.6552 MB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5982, allocations: 15.97 kB / 1.033 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.5983, allocations: 70.72 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.5993, allocations: 152.3 kB / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.5997, allocations: 338.4 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.5998, allocations: 29.36 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.5998, allocations: 32.38 kB / 1.034 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.6006, allocations: 0.5355 MB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6007, allocations: 0 / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.6007, allocations: 16 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.6008, allocations: 32.64 kB / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.6014, allocations: 394.2 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.6039, allocations: 2.403 MB / 1.037 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.6044, allocations: 272.5 kB / 1.037 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.6046, allocations: 108.8 kB / 1.037 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.6046, allocations: 4 kB / 1.037 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.6047, allocations: 34.56 kB / 1.037 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.6047, allocations: 0 / 1.037 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002213/0.6069, allocations: 1.13 MB / 1.038 GB, free: 15.82 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.6069, allocations: 51.41 kB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6073, allocations: 312.4 kB / 1.039 GB, free: 15.44 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.6073, allocations: 29.7 kB / 1.039 GB, free: 15.4 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.6074, allocations: 235.6 kB / 1.039 GB, free: 15.17 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.6075, allocations: 78.84 kB / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.6075, allocations: 33.7 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6077, allocations: 338.8 kB / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.6078, allocations: 100.6 kB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.6081, allocations: 187.8 kB / 1.04 GB, free: 14.39 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.6084, allocations: 317.3 kB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6085, allocations: 0 / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007254/0.6092, allocations: 450.4 kB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6092, allocations: 10.06 kB / 1.04 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6092, allocations: 11.94 kB / 1.04 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.6096, allocations: 90.5 kB / 1.04 GB, free: 13.47 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.6099, allocations: 67.89 kB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.6128, allocations: 4.079 MB / 1.045 GB, free: 8.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.613, allocations: 12 kB / 1.045 GB, free: 8.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.6131, allocations: 8 kB / 1.045 GB, free: 8.906 MB / 0.795 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.0001939/0.6133, allocations: 190.3 kB / 1.045 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.6133, allocations: 31.62 kB / 1.045 GB, free: 8.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.151e-05/0.6134, allocations: 42.25 kB / 1.045 GB, free: 8.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6134, allocations: 4 kB / 1.045 GB, free: 8.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6134, allocations: 3.984 kB / 1.045 GB, free: 8.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.6134, allocations: 0 / 1.045 GB, free: 8.629 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.6139, allocations: 405.3 kB / 1.045 GB, free: 8.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6139, allocations: 4 kB / 1.045 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6141, allocations: 31.98 kB / 1.045 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.6144, allocations: 90.44 kB / 1.045 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6144, allocations: 8 kB / 1.045 GB, free: 8.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.6173, allocations: 4.079 MB / 1.049 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6173, allocations: 0 / 1.049 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.618, allocations: 0.5494 MB / 1.05 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6182, allocations: 128.7 kB / 1.05 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.6182, allocations: 4 kB / 1.05 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.6184, allocations: 15.98 kB / 1.05 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.6185, allocations: 15.97 kB / 1.05 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.6185, allocations: 8 kB / 1.05 GB, free: 2.797 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002006/0.6187, allocations: 211.1 kB / 1.05 GB, free: 2.594 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6187, allocations: 0 / 1.05 GB, free: 2.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004309/0.6191, allocations: 100 kB / 1.05 GB, free: 2.496 MB / 0.795 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.001037/0.6202, allocations: 1.103 MB / 1.051 GB, free: 1.359 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008049/0.621, allocations: 0.6057 MB / 1.052 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.621, allocations: 0 / 1.052 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.6215, allocations: 475.8 kB / 1.052 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.622, allocations: 72.3 kB / 1.052 GB, free: 148 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.6262, allocations: 3.559 MB / 1.056 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.6266, allocations: 0.8348 MB / 1.057 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.6269, allocations: 62.91 kB / 1.057 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.627, allocations: 111.4 kB / 1.057 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.913e-06/0.627, allocations: 0 / 1.057 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.6465, allocations: 7.235 MB / 1.064 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.6468, allocations: 226.9 kB / 1.064 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.469, allocations: 3.938 kB / 1.064 GB, free: 4.074 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches