Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001586/0.001586, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001883/0.001883, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_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.002079/0.002079, allocations: 73.75 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005649/0.3676, allocations: 3.192 MB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3703, allocations: 1.398 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.3705, allocations: 11.94 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3717, allocations: 337.6 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.3722, allocations: 151.2 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.3727, allocations: 163.5 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.3731, allocations: 330.9 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.3736, allocations: 200 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.3739, allocations: 147.5 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3742, allocations: 151.4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.3742, allocations: 20 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.3745, allocations: 159.6 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3746, allocations: 83.73 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3748, allocations: 103.5 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.3753, allocations: 366.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3753, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3753, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.3754, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 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.001019/0.3764, allocations: 481.4 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.3764, allocations: 15.97 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.3765, allocations: 54.73 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.3772, allocations: 96.64 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3775, allocations: 195.5 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3776, allocations: 16.81 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.3776, allocations: 28.3 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.3782, allocations: 385.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3782, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3782, allocations: 8 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.3783, allocations: 24.36 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.3786, allocations: 213.6 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3802, allocations: 1.073 MB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.3806, allocations: 118.6 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.3807, allocations: 36.84 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3807, allocations: 4 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3808, allocations: 46.47 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.3808, allocations: 4 kB / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005433/0.3813, allocations: 178.4 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3814, allocations: 51.41 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.3816, allocations: 218.8 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3816, allocations: 25.7 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3817, allocations: 176 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3818, allocations: 39.73 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.3818, allocations: 33.66 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.382, allocations: 330.8 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3821, allocations: 39.98 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.3823, allocations: 118.4 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3825, allocations: 168.4 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3825, allocations: 4 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000412/0.3829, allocations: 210.4 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.383, allocations: 8 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.383, allocations: 0 / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.3832, allocations: 36.72 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3833, allocations: 31.92 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3846, allocations: 1.318 MB / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3847, allocations: 19.84 kB / 1.337 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3847, allocations: 11.98 kB / 1.337 GB, free: 5.359 MB / 1.029 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.0001738/0.3849, allocations: 153.5 kB / 1.337 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3849, allocations: 15.91 kB / 1.337 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.385, allocations: 25.39 kB / 1.337 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.385, allocations: 0 / 1.337 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.385, allocations: 0 / 1.337 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.385, allocations: 0 / 1.337 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.3857, allocations: 458.6 kB / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3857, allocations: 0 / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.3857, allocations: 8.062 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-05/0.3858, allocations: 28.84 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3858, allocations: 3.984 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.387, allocations: 1.314 MB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.387, allocations: 4.109 kB / 1.339 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3873, allocations: 240.1 kB / 1.339 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.3873, allocations: 23.84 kB / 1.339 GB, free: 2.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3874, allocations: 4 kB / 1.339 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3875, allocations: 7.984 kB / 1.339 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3875, allocations: 7.984 kB / 1.339 GB, free: 2.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.3875, allocations: 4 kB / 1.339 GB, free: 2.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001524/0.3877, allocations: 160.4 kB / 1.34 GB, free: 2.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3877, allocations: 0 / 1.34 GB, free: 2.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000345/0.388, allocations: 55.89 kB / 1.34 GB, free: 2.668 MB / 1.029 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.0006635/0.3887, allocations: 0.7639 MB / 1.34 GB, free: 1.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.3892, allocations: 227 kB / 1.341 GB, free: 1.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3892, allocations: 4.062 kB / 1.341 GB, free: 1.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3894, allocations: 158.7 kB / 1.341 GB, free: 1.465 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3898, allocations: 35.7 kB / 1.341 GB, free: 1.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.3925, allocations: 2.166 MB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.3926, allocations: 144.2 kB / 1.343 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.3927, allocations: 25.47 kB / 1.343 GB, free: 14.94 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/0.3928, allocations: 63.41 kB / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.3928, allocations: 3.938 kB / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4265, allocations: 4.707 MB / 1.348 GB, free: 10.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.37, allocations: 9.75 kB / 1.348 GB, free: 10.34 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.064142247661948]