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.001296/0.001296, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002344/0.002344, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.144/3.144, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.001989/0.001989, allocations: 71.03 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005067/0.363, allocations: 3.269 MB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.3654, allocations: 1.488 MB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.3655, allocations: 4 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.3666, allocations: 330.7 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.3669, allocations: 159.2 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.3674, allocations: 155.5 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.3678, allocations: 334.8 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.3682, allocations: 204 kB / 1.327 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.3685, allocations: 155.5 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.3688, allocations: 151.4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.3688, allocations: 23.94 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.3692, allocations: 179.6 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3693, allocations: 91.73 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3694, allocations: 119.4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.3699, allocations: 370.6 kB / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3699, allocations: 0 / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3699, allocations: 0 / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3699, allocations: 0 / 1.328 GB, free: 12.35 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.000958/0.3709, allocations: 0.5454 MB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3709, allocations: 11.98 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.371, allocations: 62.72 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006618/0.3717, allocations: 96.66 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.372, allocations: 253.3 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.372, allocations: 16.81 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.3721, allocations: 20.36 kB / 1.329 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.3726, allocations: 320.5 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3726, allocations: 3.938 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3726, allocations: 8 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.3727, allocations: 16.42 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.3731, allocations: 213.6 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.3748, allocations: 1.502 MB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.3752, allocations: 199.6 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.3753, allocations: 44.83 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3753, allocations: 4 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3754, allocations: 30.56 kB / 1.331 GB, free: 8.703 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3754, allocations: 0 / 1.331 GB, free: 8.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000627/0.376, allocations: 263.5 kB / 1.331 GB, free: 8.418 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.376, allocations: 55.34 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3763, allocations: 210.9 kB / 1.331 GB, free: 8.137 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3763, allocations: 25.7 kB / 1.331 GB, free: 8.105 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3764, allocations: 180 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3764, allocations: 31.75 kB / 1.332 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.3765, allocations: 41.66 kB / 1.332 GB, free: 7.844 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3767, allocations: 326.8 kB / 1.332 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3768, allocations: 47.97 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3769, allocations: 100.6 kB / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.3772, allocations: 176.2 kB / 1.332 GB, free: 7.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.3772, allocations: 8 kB / 1.332 GB, free: 7.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003858/0.3776, allocations: 206.1 kB / 1.332 GB, free: 6.918 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3776, allocations: 7.984 kB / 1.332 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3776, allocations: 4 kB / 1.332 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.3778, allocations: 33.06 kB / 1.332 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3779, allocations: 35.98 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.3791, allocations: 1.421 MB / 1.334 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3792, allocations: 15.83 kB / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3793, allocations: 12 kB / 1.334 GB, free: 5.246 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.00016/0.3794, allocations: 148.1 kB / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.3795, allocations: 27.95 kB / 1.334 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.3795, allocations: 21.39 kB / 1.334 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3795, allocations: 4 kB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3795, allocations: 0 / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3795, allocations: 0 / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.3802, allocations: 487.2 kB / 1.335 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3802, allocations: 8.062 kB / 1.335 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.3802, allocations: 8 kB / 1.335 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.489e-05/0.3803, allocations: 28.84 kB / 1.335 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3803, allocations: 3.938 kB / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.3815, allocations: 1.421 MB / 1.336 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3815, allocations: 0 / 1.336 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.3818, allocations: 240.6 kB / 1.336 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.3819, allocations: 101.1 kB / 1.336 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3819, allocations: 8 kB / 1.336 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.382, allocations: 7.984 kB / 1.336 GB, free: 2.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3821, allocations: 4 kB / 1.336 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3821, allocations: 0 / 1.336 GB, free: 2.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001462/0.3822, allocations: 160.1 kB / 1.337 GB, free: 2.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3822, allocations: 0 / 1.337 GB, free: 2.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003394/0.3826, allocations: 55.98 kB / 1.337 GB, free: 2.285 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.0006729/0.3833, allocations: 0.7834 MB / 1.337 GB, free: 1.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.3837, allocations: 230.7 kB / 1.338 GB, free: 1.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3837, allocations: 0 / 1.338 GB, free: 1.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.384, allocations: 158.6 kB / 1.338 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3843, allocations: 37.41 kB / 1.338 GB, free: 1.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3869, allocations: 2.159 MB / 1.34 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3873, allocations: 0.7593 MB / 1.341 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.723e-05/0.3874, allocations: 25.53 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.3875, allocations: 59.41 kB / 1.341 GB, free: 13.87 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3875, allocations: 4 kB / 1.341 GB, free: 13.86 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4204, allocations: 4.081 MB / 1.345 GB, free: 9.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.902/10.32, allocations: 4.062 kB / 1.345 GB, free: 9.922 MB / 1.045 GB " [Timeout remaining time 290] (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: 17.12110599107109]