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.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.001546/0.001546, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001761/0.001761, allocations: 186 kB / 20.78 MB, free: 1.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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.88 kB / 1.107 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.909/0.9113, allocations: 168.7 MB / 1.271 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005638/0.9169, allocations: 4.522 MB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.9198, allocations: 1.929 MB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.9201, allocations: 12.34 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.9217, allocations: 0.613 MB / 1.278 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.9224, allocations: 263.7 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.923, allocations: 258.1 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.9238, allocations: 0.6182 MB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007754/0.9246, allocations: 321.2 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.9251, allocations: 252.8 kB / 1.28 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.9258, allocations: 282.4 kB / 1.28 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.9259, allocations: 36.94 kB / 1.28 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.9266, allocations: 261.5 kB / 1.281 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.9269, allocations: 153.5 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.9272, allocations: 219.8 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.9283, allocations: 0.6097 MB / 1.282 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.9283, allocations: 1.984 kB / 1.282 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9283, allocations: 0 / 1.282 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.9283, allocations: 4 kB / 1.282 GB, free: 1.559 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.001477/0.9298, allocations: 0.7375 MB / 1.282 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.9298, allocations: 10.69 kB / 1.282 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.9299, allocations: 76.16 kB / 1.282 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.931, allocations: 150.5 kB / 1.283 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.9315, allocations: 338.9 kB / 1.283 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.9316, allocations: 32.25 kB / 1.283 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.9316, allocations: 30.56 kB / 1.283 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.9325, allocations: 0.5299 MB / 1.283 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.9325, allocations: 6.719 kB / 1.283 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.9325, allocations: 17 kB / 1.283 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.9326, allocations: 30.41 kB / 1.283 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.9332, allocations: 383.2 kB / 1.284 GB, free: 168 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.9361, allocations: 2.402 MB / 1.286 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.9367, allocations: 250.8 kB / 1.286 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.9369, allocations: 100.5 kB / 1.287 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.9369, allocations: 2.875 kB / 1.287 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.937, allocations: 36.77 kB / 1.287 GB, free: 13.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 2.023e-06/0.937, allocations: 0 / 1.287 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002449/0.9394, allocations: 1.131 MB / 1.288 GB, free: 13.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.9395, allocations: 54.23 kB / 1.288 GB, free: 13.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.9398, allocations: 303.1 kB / 1.288 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.9399, allocations: 31.48 kB / 1.288 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.94, allocations: 236.5 kB / 1.288 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.9402, allocations: 86.97 kB / 1.288 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.9403, allocations: 62.48 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.9404, allocations: 341.3 kB / 1.289 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.9406, allocations: 102.5 kB / 1.289 GB, free: 12.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.9409, allocations: 190.2 kB / 1.289 GB, free: 12.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.9414, allocations: 320.5 kB / 1.289 GB, free: 11.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9414, allocations: 0 / 1.289 GB, free: 11.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008111/0.9422, allocations: 437.7 kB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9422, allocations: 8.625 kB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.9422, allocations: 3.984 kB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.9426, allocations: 104.7 kB / 1.29 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.9429, allocations: 60.66 kB / 1.29 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.9468, allocations: 4.404 MB / 1.294 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.9471, allocations: 8.75 kB / 1.294 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.9471, allocations: 13.75 kB / 1.294 GB, free: 7.258 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.0002602/0.9473, allocations: 181.5 kB / 1.294 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.9474, allocations: 36.06 kB / 1.294 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.9475, allocations: 42.62 kB / 1.294 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9475, allocations: 3.969 kB / 1.294 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.9475, allocations: 0 / 1.294 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9475, allocations: 1.453 kB / 1.294 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.9481, allocations: 392 kB / 1.295 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9481, allocations: 3.938 kB / 1.295 GB, free: 6.789 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.9483, allocations: 44.58 kB / 1.295 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.9486, allocations: 91.92 kB / 1.295 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.9486, allocations: 6.875 kB / 1.295 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.9523, allocations: 4.379 MB / 1.299 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.9523, allocations: 15.58 kB / 1.299 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.9532, allocations: 0.545 MB / 1.3 GB, free: 2.094 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.9534, allocations: 128.2 kB / 1.3 GB, free: 1.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.9534, allocations: 7.938 kB / 1.3 GB, free: 1.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.9536, allocations: 15.08 kB / 1.3 GB, free: 1.961 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.9537, allocations: 19.02 kB / 1.3 GB, free: 1.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.9537, allocations: 7.219 kB / 1.3 GB, free: 1.953 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002399/0.954, allocations: 213.3 kB / 1.3 GB, free: 1.832 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.954, allocations: 0 / 1.3 GB, free: 1.832 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005076/0.9545, allocations: 98.5 kB / 1.3 GB, free: 1.82 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.001186/0.9556, allocations: 1.11 MB / 1.301 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009503/0.9566, allocations: 0.5762 MB / 1.302 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9566, allocations: 3.781 kB / 1.302 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.9571, allocations: 470.2 kB / 1.302 GB, free: 168 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.9577, allocations: 74.19 kB / 1.302 GB, free: 144 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.9627, allocations: 3.393 MB / 1.306 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.9633, allocations: 0.8348 MB / 1.307 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.9635, allocations: 57.69 kB / 1.307 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.9637, allocations: 109.8 kB / 1.307 GB, free: 13.11 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.9637, allocations: 0 / 1.307 GB, free: 13.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04441/1.008, allocations: 7.863 MB / 1.314 GB, free: 12.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.17, allocations: 12.2 kB / 1.314 GB, free: 12.26 MB / 1.029 GB " [Timeout remaining time 289] (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 --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_2/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.137046830990585]