Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.001274/0.001274, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.00141/0.00141, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",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.002033/0.002033, allocations: 68.69 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005088/0.3509, allocations: 3.277 MB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.3534, allocations: 1.465 MB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3535, allocations: 11.94 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3545, allocations: 346.6 kB / 1.353 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3549, allocations: 151.2 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3553, allocations: 159.5 kB / 1.353 GB, free: 4.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.3558, allocations: 338.8 kB / 1.353 GB, free: 4.234 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.3562, allocations: 200 kB / 1.354 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.3565, allocations: 151.4 kB / 1.354 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.3567, allocations: 155.4 kB / 1.354 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.3568, allocations: 20 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.3571, allocations: 179.6 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.3572, allocations: 83.73 kB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3573, allocations: 123.4 kB / 1.354 GB, free: 3.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3578, allocations: 366.6 kB / 1.355 GB, free: 2.973 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3578, allocations: 4 kB / 1.355 GB, free: 2.969 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3578, allocations: 3.984 kB / 1.355 GB, free: 2.965 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3578, allocations: 0 / 1.355 GB, free: 2.965 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009638/0.3588, allocations: 0.5454 MB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3589, allocations: 19.92 kB / 1.355 GB, free: 2.352 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/0.3589, allocations: 58.72 kB / 1.355 GB, free: 2.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006467/0.3596, allocations: 88.67 kB / 1.355 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.3599, allocations: 264.6 kB / 1.356 GB, free: 1.898 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3599, allocations: 20.8 kB / 1.356 GB, free: 1.879 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.36, allocations: 16.38 kB / 1.356 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.3605, allocations: 320.4 kB / 1.356 GB, free: 1.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3605, allocations: 0 / 1.356 GB, free: 1.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3605, allocations: 8 kB / 1.356 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.3606, allocations: 20.42 kB / 1.356 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.361, allocations: 209.6 kB / 1.356 GB, free: 1.293 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3627, allocations: 1.498 MB / 1.358 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.3632, allocations: 195.6 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3633, allocations: 44.83 kB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3633, allocations: 0 / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3633, allocations: 34.56 kB / 1.358 GB, free: 15.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.3633, allocations: 0 / 1.358 GB, free: 15.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0006102/0.3639, allocations: 267.4 kB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.364, allocations: 51.41 kB / 1.358 GB, free: 14.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.3642, allocations: 202.9 kB / 1.358 GB, free: 14.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3642, allocations: 41.69 kB / 1.358 GB, free: 14.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3643, allocations: 176 kB / 1.358 GB, free: 14.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3643, allocations: 27.78 kB / 1.359 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.3644, allocations: 45.59 kB / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3646, allocations: 326.8 kB / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3647, allocations: 43.97 kB / 1.359 GB, free: 14.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3648, allocations: 108.6 kB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.3651, allocations: 168.4 kB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3651, allocations: 0 / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003921/0.3655, allocations: 210.1 kB / 1.359 GB, free: 13.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3655, allocations: 8 kB / 1.359 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3655, allocations: 4.062 kB / 1.359 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.3657, allocations: 36.77 kB / 1.359 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3658, allocations: 35.86 kB / 1.359 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.367, allocations: 1.433 MB / 1.361 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3672, allocations: 19.88 kB / 1.361 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3672, allocations: 12 kB / 1.361 GB, free: 11.85 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.3673, allocations: 145.7 kB / 1.361 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.3674, allocations: 15.91 kB / 1.361 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.3674, allocations: 21.39 kB / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3674, allocations: 0 / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3674, allocations: 64 / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3674, allocations: 4 kB / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3681, allocations: 487.2 kB / 1.362 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3681, allocations: 3.984 kB / 1.362 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.3681, allocations: 8 kB / 1.362 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.862e-05/0.3682, allocations: 28.78 kB / 1.362 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3682, allocations: 4 kB / 1.362 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.3694, allocations: 1.422 MB / 1.363 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.3694, allocations: 7.938 kB / 1.363 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.3697, allocations: 240.2 kB / 1.363 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.3698, allocations: 101 kB / 1.363 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3698, allocations: 0 / 1.363 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.37, allocations: 12.05 kB / 1.363 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.37, allocations: 8 kB / 1.363 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.37, allocations: 4 kB / 1.363 GB, free: 9.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001483/0.3702, allocations: 156.3 kB / 1.363 GB, free: 8.961 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3702, allocations: 0 / 1.363 GB, free: 8.961 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00035/0.3705, allocations: 59.84 kB / 1.364 GB, free: 8.902 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007002/0.3712, allocations: 0.7684 MB / 1.364 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004867/0.3717, allocations: 222.5 kB / 1.364 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3717, allocations: 0.5625 kB / 1.364 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.3719, allocations: 162.6 kB / 1.365 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3723, allocations: 37.86 kB / 1.365 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3749, allocations: 2.156 MB / 1.367 GB, free: 5.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.3753, allocations: 0.7554 MB / 1.368 GB, free: 4.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000102/0.3754, allocations: 33.52 kB / 1.368 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.3755, allocations: 55.42 kB / 1.368 GB, free: 4.504 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3755, allocations: 3.938 kB / 1.368 GB, free: 4.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.4084, allocations: 4.074 MB / 1.372 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.53, allocations: 10.75 kB / 1.372 GB, free: 0.5625 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.V in file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.309545218013227]