Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001778/0.001778, allocations: 113 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.002146/0.002146, allocations: 213.7 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.736/2.736, allocations: 476.7 MB / 0.7672 GB, free: 5.242 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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_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.002056/0.002056, allocations: 72.17 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7978, allocations: 169.9 MB / 1.278 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006404/0.8042, allocations: 3.283 MB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.8071, allocations: 1.472 MB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.8073, allocations: 11.94 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.8084, allocations: 342.6 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.8088, allocations: 159.2 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.8093, allocations: 151.6 kB / 1.284 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.8097, allocations: 330.9 kB / 1.284 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.8101, allocations: 206.1 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.8104, allocations: 147.5 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.8107, allocations: 159.4 kB / 1.284 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.8107, allocations: 20 kB / 1.284 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.811, allocations: 183.6 kB / 1.285 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.8111, allocations: 87.67 kB / 1.285 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.8113, allocations: 119.4 kB / 1.285 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.8118, allocations: 362.7 kB / 1.285 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8118, allocations: 0 / 1.285 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8118, allocations: 0 / 1.285 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.8118, allocations: 0 / 1.285 GB, free: 6.539 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009522/0.8128, allocations: 0.5609 MB / 1.286 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8128, allocations: 8.031 kB / 1.286 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.642e-05/0.8129, allocations: 58.72 kB / 1.286 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.8135, allocations: 88.67 kB / 1.286 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.8139, allocations: 257.4 kB / 1.286 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.8139, allocations: 20.81 kB / 1.286 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.8139, allocations: 16.38 kB / 1.286 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.8145, allocations: 312.4 kB / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.8145, allocations: 4 kB / 1.286 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.8145, allocations: 8 kB / 1.286 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.8146, allocations: 24.42 kB / 1.286 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.815, allocations: 213.5 kB / 1.287 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.8167, allocations: 1.494 MB / 1.288 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.8172, allocations: 195.7 kB / 1.288 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.974e-05/0.8173, allocations: 44.83 kB / 1.288 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8173, allocations: 0 / 1.288 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.8173, allocations: 30.56 kB / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.8173, allocations: 0 / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006184/0.818, allocations: 279.3 kB / 1.289 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.818, allocations: 51.41 kB / 1.289 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.8182, allocations: 206.9 kB / 1.289 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.8182, allocations: 25.7 kB / 1.289 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.8184, allocations: 180 kB / 1.289 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.8184, allocations: 27.75 kB / 1.289 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.8185, allocations: 41.66 kB / 1.289 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8186, allocations: 334.8 kB / 1.289 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.8187, allocations: 43.97 kB / 1.289 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.8189, allocations: 110.7 kB / 1.29 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.8191, allocations: 168.4 kB / 1.29 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8191, allocations: 0 / 1.29 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003973/0.8195, allocations: 214.1 kB / 1.29 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8196, allocations: 11.94 kB / 1.29 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8196, allocations: 288 / 1.29 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.8197, allocations: 36.78 kB / 1.29 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.8199, allocations: 35.92 kB / 1.29 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.8212, allocations: 1.434 MB / 1.291 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.8213, allocations: 15.89 kB / 1.291 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.8213, allocations: 8 kB / 1.291 GB, free: 15.43 MB / 0.9981 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.0001585/0.8215, allocations: 153.8 kB / 1.292 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.8215, allocations: 19.89 kB / 1.292 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.8216, allocations: 17.41 kB / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.8216, allocations: 0 / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.8216, allocations: 0 / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8216, allocations: 96 / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.8223, allocations: 0.4913 MB / 1.292 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8223, allocations: 0 / 1.292 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.8223, allocations: 12 kB / 1.292 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.219e-05/0.8224, allocations: 24.84 kB / 1.292 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.8224, allocations: 7.984 kB / 1.292 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.8236, allocations: 1.429 MB / 1.293 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8236, allocations: 0 / 1.293 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.8239, allocations: 236.2 kB / 1.294 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.824, allocations: 101 kB / 1.294 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.824, allocations: 0 / 1.294 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8242, allocations: 11.98 kB / 1.294 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.8242, allocations: 8 kB / 1.294 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.8242, allocations: 3.984 kB / 1.294 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001541/0.8244, allocations: 151.2 kB / 1.294 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8244, allocations: 0 / 1.294 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003628/0.8248, allocations: 55.89 kB / 1.294 GB, free: 12.47 MB / 0.9981 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.0006585/0.8254, allocations: 0.7723 MB / 1.295 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.8259, allocations: 230.6 kB / 1.295 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8259, allocations: 0 / 1.295 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.8261, allocations: 154.7 kB / 1.295 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.8265, allocations: 36.77 kB / 1.295 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.8293, allocations: 2.164 MB / 1.297 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.8299, allocations: 0.7631 MB / 1.298 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000139/0.8301, allocations: 21.92 kB / 1.298 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.8302, allocations: 63.41 kB / 1.298 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of SimCode: time 1.323e-06/0.8302, allocations: 0 / 1.298 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.8764, allocations: 4.083 MB / 1.302 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.97, allocations: 13.77 kB / 1.302 GB, free: 4.102 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.08218194800429]