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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9037, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007527/0.9112, allocations: 4.432 MB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.9154, allocations: 1.919 MB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.9158, allocations: 16.06 kB / 1.285 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.9176, allocations: 0.6155 MB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.9185, allocations: 262.8 kB / 1.286 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.9194, allocations: 255.9 kB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.9204, allocations: 0.6084 MB / 1.287 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.9211, allocations: 367.7 kB / 1.287 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.9216, allocations: 253 kB / 1.287 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.9221, allocations: 279 kB / 1.288 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.9221, allocations: 36.47 kB / 1.288 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.9227, allocations: 261.9 kB / 1.288 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.9229, allocations: 158.5 kB / 1.288 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.9231, allocations: 225.7 kB / 1.288 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009162/0.924, allocations: 0.6071 MB / 1.289 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.924, allocations: 0 / 1.289 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.924, allocations: 0.7969 kB / 1.289 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.924, allocations: 1.219 kB / 1.289 GB, free: 5.578 MB / 0.9981 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.001451/0.9255, allocations: 0.7357 MB / 1.29 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.9255, allocations: 10.8 kB / 1.29 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.165e-05/0.9256, allocations: 9.281 kB / 1.29 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.644e-05/0.9257, allocations: 73.66 kB / 1.29 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.9267, allocations: 154.9 kB / 1.29 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.9273, allocations: 335.8 kB / 1.29 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.9274, allocations: 33.58 kB / 1.29 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.9275, allocations: 35.23 kB / 1.29 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.9285, allocations: 0.5347 MB / 1.291 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.9285, allocations: 1.5 kB / 1.291 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.9285, allocations: 11.94 kB / 1.291 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.9286, allocations: 36.92 kB / 1.291 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.9293, allocations: 394.7 kB / 1.291 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.9323, allocations: 2.401 MB / 1.294 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.9328, allocations: 243.6 kB / 1.294 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.933, allocations: 96.48 kB / 1.294 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.933, allocations: 2.781 kB / 1.294 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.933, allocations: 36.86 kB / 1.294 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.933, allocations: 0 / 1.294 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.00242/0.9354, allocations: 1.132 MB / 1.295 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.9355, allocations: 63.27 kB / 1.295 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.9359, allocations: 297.5 kB / 1.295 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.936, allocations: 32.02 kB / 1.295 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.9361, allocations: 234.9 kB / 1.296 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.9362, allocations: 86.06 kB / 1.296 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.9363, allocations: 62.34 kB / 1.296 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9365, allocations: 338.2 kB / 1.296 GB, free: 280 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.9367, allocations: 104.9 kB / 1.296 GB, free: 244 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.9369, allocations: 198.9 kB / 1.296 GB, free: 88 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.9374, allocations: 319.2 kB / 1.297 GB, free: 15.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9374, allocations: 0 / 1.297 GB, free: 15.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008529/0.9382, allocations: 441.2 kB / 1.297 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9383, allocations: 7.203 kB / 1.297 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9383, allocations: 2.25 kB / 1.297 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.9387, allocations: 100.7 kB / 1.297 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.939, allocations: 63.89 kB / 1.297 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.9428, allocations: 4.408 MB / 1.302 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.9431, allocations: 8.25 kB / 1.302 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.9432, allocations: 9.984 kB / 1.302 GB, free: 11.27 MB / 1.014 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.0002753/0.9434, allocations: 176.6 kB / 1.302 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.9435, allocations: 43.67 kB / 1.302 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.023e-05/0.9436, allocations: 37.58 kB / 1.302 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.9436, allocations: 3.438 kB / 1.302 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.9436, allocations: 1.406 kB / 1.302 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.9436, allocations: 1.172 kB / 1.302 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.9442, allocations: 401.4 kB / 1.302 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9442, allocations: 0 / 1.302 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.9444, allocations: 32.67 kB / 1.302 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/0.9448, allocations: 96.3 kB / 1.302 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.9448, allocations: 6.016 kB / 1.302 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.9484, allocations: 4.391 MB / 1.307 GB, free: 6.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9484, allocations: 4.641 kB / 1.307 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.9493, allocations: 0.5602 MB / 1.307 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.9495, allocations: 131.1 kB / 1.307 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.9496, allocations: 2.344 kB / 1.307 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.9498, allocations: 11.69 kB / 1.307 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.9498, allocations: 22.31 kB / 1.307 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.9498, allocations: 9.188 kB / 1.307 GB, free: 5.965 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002526/0.9501, allocations: 213.6 kB / 1.308 GB, free: 5.844 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.9501, allocations: 0 / 1.308 GB, free: 5.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005126/0.9506, allocations: 95.06 kB / 1.308 GB, free: 5.836 MB / 1.014 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.001223/0.9518, allocations: 1.1 MB / 1.309 GB, free: 4.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009368/0.9528, allocations: 0.594 MB / 1.309 GB, free: 4.559 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9528, allocations: 0 / 1.309 GB, free: 4.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.9533, allocations: 458.5 kB / 1.31 GB, free: 4.184 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.9538, allocations: 81.36 kB / 1.31 GB, free: 4.156 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.9586, allocations: 3.382 MB / 1.313 GB, free: 1.918 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.9591, allocations: 0.8309 MB / 1.314 GB, free: 1.203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002609/0.9594, allocations: 65.72 kB / 1.314 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.9595, allocations: 110.8 kB / 1.314 GB, free: 1.105 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/0.9595, allocations: 0 / 1.314 GB, free: 1.105 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.9972, allocations: 7.895 MB / 1.322 GB, free: 15.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.6, allocations: 7.625 kB / 1.322 GB, free: 15.76 MB / 1.029 GB " [Timeout remaining time 288] (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 --stepSize=0.006 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.746123153017834]