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.001398/0.001398, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001683/0.001683, allocations: 215.2 kB / 22.25 MB, free: 5.125 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.992 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.319/3.319, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002082/0.002082, allocations: 76.88 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005121/0.3689, allocations: 3.349 MB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3713, allocations: 1.5 MB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3715, allocations: 7.938 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3726, allocations: 343.3 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.373, allocations: 155.2 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3734, allocations: 163.5 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000437/0.3738, allocations: 338.8 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.3742, allocations: 200 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.3745, allocations: 147.5 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3748, allocations: 155.4 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.3748, allocations: 20 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.3751, allocations: 179.6 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.3752, allocations: 87.73 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3754, allocations: 123.3 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.3758, allocations: 374.6 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3758, allocations: 0 / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3758, allocations: 0 / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3758, allocations: 0 / 1.36 GB, free: 1.309 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.0009084/0.3768, allocations: 473.4 kB / 1.36 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3768, allocations: 15.97 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/0.3769, allocations: 66.64 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006539/0.3775, allocations: 92.67 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3779, allocations: 204 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3779, allocations: 12.81 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.3779, allocations: 24.36 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.3784, allocations: 316.4 kB / 1.361 GB, free: 40 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3784, allocations: 4 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3785, allocations: 8 kB / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.3785, allocations: 20.42 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.3789, allocations: 209.6 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.3806, allocations: 1.459 MB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.381, allocations: 122.5 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.3811, allocations: 40.83 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3811, allocations: 8 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3811, allocations: 30.56 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3811, allocations: 0 / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.3817, allocations: 182.3 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3817, allocations: 59.41 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3819, allocations: 210.9 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.382, allocations: 29.7 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3821, allocations: 179.9 kB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3821, allocations: 27.78 kB / 1.363 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.3822, allocations: 41.66 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3823, allocations: 322.8 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3824, allocations: 47.97 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3826, allocations: 110.6 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.3828, allocations: 168.4 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3828, allocations: 4 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003808/0.3832, allocations: 210.1 kB / 1.364 GB, free: 12.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3832, allocations: 8 kB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3832, allocations: 64 / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.3834, allocations: 40.77 kB / 1.364 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3835, allocations: 40.14 kB / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.3847, allocations: 1.322 MB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3848, allocations: 23.83 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3849, allocations: 8.391 kB / 1.366 GB, free: 10.72 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.0001578/0.385, allocations: 158.9 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.3851, allocations: 15.91 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.3851, allocations: 21.39 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3851, allocations: 4.062 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3851, allocations: 0 / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3851, allocations: 0 / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.3858, allocations: 458.3 kB / 1.366 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3858, allocations: 0 / 1.366 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.3859, allocations: 19.92 kB / 1.366 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.3859, allocations: 20.84 kB / 1.366 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3859, allocations: 8 kB / 1.366 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3871, allocations: 1.322 MB / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3871, allocations: 4 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.3874, allocations: 228.2 kB / 1.368 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.3875, allocations: 31.81 kB / 1.368 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3875, allocations: 4 kB / 1.368 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3876, allocations: 12.16 kB / 1.368 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3877, allocations: 11.86 kB / 1.368 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3877, allocations: 4 kB / 1.368 GB, free: 8.223 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001414/0.3878, allocations: 152.3 kB / 1.368 GB, free: 8.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3878, allocations: 0 / 1.368 GB, free: 8.074 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003424/0.3882, allocations: 59.84 kB / 1.368 GB, free: 8.016 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.00063/0.3888, allocations: 0.7702 MB / 1.369 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.3893, allocations: 219.1 kB / 1.369 GB, free: 6.988 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3893, allocations: 4.062 kB / 1.369 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3895, allocations: 158.6 kB / 1.369 GB, free: 6.816 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3898, allocations: 41.61 kB / 1.369 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.3924, allocations: 2.161 MB / 1.371 GB, free: 4.477 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3928, allocations: 0.7593 MB / 1.372 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.3929, allocations: 29.47 kB / 1.372 GB, free: 3.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.393, allocations: 55.42 kB / 1.372 GB, free: 3.609 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/0.393, allocations: 3.938 kB / 1.372 GB, free: 3.605 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.4358, allocations: 4.208 MB / 1.376 GB, free: 15.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.01, allocations: 15.38 kB / 1.376 GB, free: 15.54 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.06772765000005]