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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 1.056 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8819, allocations: 160.7 MB / 1.213 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007243/0.8891, allocations: 4.415 MB / 1.217 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.8926, allocations: 1.89 MB / 1.219 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.8929, allocations: 8.219 kB / 1.219 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.8947, allocations: 0.606 MB / 1.22 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007643/0.8954, allocations: 274.5 kB / 1.22 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.8962, allocations: 252.2 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009137/0.8971, allocations: 0.6153 MB / 1.221 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.8978, allocations: 369.7 kB / 1.221 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.8982, allocations: 250.4 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.8987, allocations: 281.7 kB / 1.222 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.8988, allocations: 37.34 kB / 1.222 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.8993, allocations: 265.9 kB / 1.222 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.8995, allocations: 156.9 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.8998, allocations: 219.8 kB / 1.222 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009024/0.9007, allocations: 0.6049 MB / 1.223 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9007, allocations: 5.094 kB / 1.223 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9007, allocations: 0 / 1.223 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.9007, allocations: 0 / 1.223 GB, free: 12.6 MB / 0.9356 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.001391/0.9021, allocations: 0.7388 MB / 1.224 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9022, allocations: 14.09 kB / 1.224 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.934e-05/0.9023, allocations: 75.81 kB / 1.224 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.9032, allocations: 146.5 kB / 1.224 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.9038, allocations: 339.1 kB / 1.224 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.9038, allocations: 26.61 kB / 1.224 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.9039, allocations: 35.31 kB / 1.224 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000883/0.9048, allocations: 0.5353 MB / 1.225 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.9048, allocations: 0 / 1.225 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.9048, allocations: 13.19 kB / 1.225 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.9049, allocations: 35.2 kB / 1.225 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.9056, allocations: 386.6 kB / 1.225 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.9086, allocations: 2.403 MB / 1.227 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.9091, allocations: 245.6 kB / 1.228 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.9093, allocations: 108.7 kB / 1.228 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.9093, allocations: 1.562 kB / 1.228 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.9094, allocations: 32.12 kB / 1.228 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.9094, allocations: 0 / 1.228 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002352/0.9117, allocations: 1.121 MB / 1.229 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.9118, allocations: 59.34 kB / 1.229 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.9121, allocations: 308.5 kB / 1.229 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.9121, allocations: 25.7 kB / 1.229 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.9123, allocations: 244.1 kB / 1.23 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.9124, allocations: 83.27 kB / 1.23 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.9125, allocations: 65.98 kB / 1.23 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9126, allocations: 338.8 kB / 1.23 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.9128, allocations: 100.6 kB / 1.23 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.913, allocations: 187.8 kB / 1.23 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.9135, allocations: 316.8 kB / 1.231 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9135, allocations: 0 / 1.231 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007703/0.9142, allocations: 441.9 kB / 1.231 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9143, allocations: 8 kB / 1.231 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.9143, allocations: 4 kB / 1.231 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.9146, allocations: 98.84 kB / 1.231 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.9149, allocations: 59.91 kB / 1.231 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.9186, allocations: 4.404 MB / 1.235 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.9189, allocations: 12 kB / 1.235 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.9189, allocations: 8.156 kB / 1.235 GB, free: 216 kB / 0.9356 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.0002427/0.9192, allocations: 177.8 kB / 1.236 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.9192, allocations: 39.73 kB / 1.236 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-05/0.9193, allocations: 38.33 kB / 1.236 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9193, allocations: 7.984 kB / 1.236 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.9193, allocations: 0 / 1.236 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9193, allocations: 0 / 1.236 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.9199, allocations: 405.3 kB / 1.236 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9199, allocations: 4 kB / 1.236 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.92, allocations: 43.86 kB / 1.236 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.9204, allocations: 86.5 kB / 1.236 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.9204, allocations: 15.98 kB / 1.236 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.9238, allocations: 4.38 MB / 1.241 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9238, allocations: 11.88 kB / 1.241 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.9246, allocations: 0.547 MB / 1.241 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.9248, allocations: 129 kB / 1.241 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.9249, allocations: 4 kB / 1.241 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.9251, allocations: 12 kB / 1.241 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.9251, allocations: 19.97 kB / 1.241 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.9251, allocations: 11.94 kB / 1.241 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002347/0.9254, allocations: 207.1 kB / 1.241 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9254, allocations: 0 / 1.241 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005028/0.9259, allocations: 100 kB / 1.242 GB, free: 9.465 MB / 0.9512 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.001176/0.927, allocations: 1.107 MB / 1.243 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009314/0.928, allocations: 0.5902 MB / 1.243 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.928, allocations: 0 / 1.243 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.9285, allocations: 469.4 kB / 1.244 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.929, allocations: 81.06 kB / 1.244 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.9335, allocations: 3.365 MB / 1.247 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.934, allocations: 0.8428 MB / 1.248 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.9342, allocations: 58.92 kB / 1.248 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.9343, allocations: 111.4 kB / 1.248 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/0.9343, allocations: 0 / 1.248 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.976, allocations: 7.844 MB / 1.256 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.19, allocations: 6.391 kB / 1.256 GB, free: 10.86 MB / 0.9669 GB " [Timeout remaining time 289] (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 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.992861164268106]