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.001723/0.001723, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002588/0.002588, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.751/2.751, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 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.001994/0.001994, allocations: 64.83 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007309/0.3226, allocations: 4.264 MB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.3265, allocations: 1.823 MB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.3269, allocations: 15.88 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.3289, allocations: 0.597 MB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.3297, allocations: 262.6 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3304, allocations: 262.9 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007854/0.3312, allocations: 0.6074 MB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006098/0.3318, allocations: 350.6 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.3321, allocations: 255.1 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.3327, allocations: 286.9 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.3327, allocations: 36 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.3332, allocations: 227.5 kB / 1.293 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.3333, allocations: 159.5 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.3336, allocations: 183.2 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.3344, allocations: 0.6187 MB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3344, allocations: 0 / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3344, allocations: 0 / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3344, allocations: 4 kB / 1.294 GB, free: 0.7148 MB / 0.9825 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.001357/0.3358, allocations: 0.6593 MB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3358, allocations: 12.03 kB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/0.3358, allocations: 9.188 kB / 1.294 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3359, allocations: 78.69 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.3369, allocations: 148.5 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.3374, allocations: 284.8 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3375, allocations: 21.38 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.3375, allocations: 36.36 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.3385, allocations: 0.682 MB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3385, allocations: 0 / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.3385, allocations: 15.98 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.3386, allocations: 40.62 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.3393, allocations: 386.3 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.3418, allocations: 1.741 MB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.3423, allocations: 246.5 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3425, allocations: 92.81 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3425, allocations: 7.938 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3426, allocations: 34.56 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.3426, allocations: 0 / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002216/0.3448, allocations: 0.9065 MB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3448, allocations: 59.34 kB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.3452, allocations: 304.5 kB / 1.299 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3452, allocations: 29.7 kB / 1.299 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3454, allocations: 232.1 kB / 1.3 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.3454, allocations: 87.31 kB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3456, allocations: 61.98 kB / 1.3 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3457, allocations: 338.8 kB / 1.3 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3459, allocations: 104.5 kB / 1.3 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.3461, allocations: 191.8 kB / 1.3 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.3466, allocations: 307.5 kB / 1.301 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3466, allocations: 7.938 kB / 1.301 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000814/0.3474, allocations: 437.9 kB / 1.301 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3474, allocations: 8.344 kB / 1.301 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3474, allocations: 11.94 kB / 1.301 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.3478, allocations: 90.5 kB / 1.301 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.3481, allocations: 63.91 kB / 1.301 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/0.3518, allocations: 4.065 MB / 1.305 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3521, allocations: 24.25 kB / 1.305 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3521, allocations: 8 kB / 1.305 GB, free: 4.191 MB / 0.9981 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.0002519/0.3524, allocations: 185.5 kB / 1.305 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.3525, allocations: 39.7 kB / 1.305 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.3525, allocations: 42.41 kB / 1.305 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3525, allocations: 4 kB / 1.305 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.3526, allocations: 0 / 1.305 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3526, allocations: 3.984 kB / 1.305 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.353, allocations: 340.5 kB / 1.306 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.353, allocations: 4 kB / 1.306 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3533, allocations: 31.98 kB / 1.306 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.3536, allocations: 94.44 kB / 1.306 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3536, allocations: 7.984 kB / 1.306 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.3572, allocations: 4.061 MB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3573, allocations: 3.938 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.3581, allocations: 0.5542 MB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3582, allocations: 51.77 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.3583, allocations: 8 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3585, allocations: 11.98 kB / 1.311 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.3586, allocations: 20.12 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.3586, allocations: 11.94 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002481/0.3588, allocations: 215 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3588, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005375/0.3594, allocations: 100 kB / 1.311 GB, free: 13.99 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.001331/0.3607, allocations: 1.101 MB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.3618, allocations: 0.5817 MB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3618, allocations: 0.75 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.3624, allocations: 471.9 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.3629, allocations: 70.95 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.3676, allocations: 3.373 MB / 1.316 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3679, allocations: 232.7 kB / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.3681, allocations: 58.92 kB / 1.317 GB, free: 7.824 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3683, allocations: 111.3 kB / 1.317 GB, free: 7.715 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.3683, allocations: 3.938 kB / 1.317 GB, free: 7.711 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/0.4221, allocations: 8.503 MB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.93, allocations: 17.48 kB / 1.325 GB, free: 15.46 MB / 1.029 GB " [Timeout remaining time 287] (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: 19.64668929099571]